9.152 CStpDBAccessProtHDL Class
class CStpDBAccessProtHDL
Implementation of the protocolling concept
Defined in: StpDBAccess.hpp
See Also
Documentation of InfraSetup capture Protocolling and errorhandling
Class Members
public members
CStpDBAccessProtHDL()
Constructor.
CStpDBAccessProtHDL( CStpDBAccessProtHDL& )
Copy constructor.
protected members
LONG lDbsRc
Store the error that occured
ULONG ulLogStatus
Decision what has to be logged CSTPLOG - flags
ULONG ulLogStatusBackup
Backup ulLogStatus for resume
ULONG ulErrorStatus
Decision what to do with errors CSTPERR - flags
SCString scsPrelogBuffer
Backup prelog buffer for delta calculation
void StpPrepareForLog( const SCString&, const SCString& )
Prepare log object
void StpStartLog( ULONG, LONG )
Start logging
void StpPauseLog()
Pause logging
void StpResumeLog()
Resume logging
void StpEndLog()
Terminate logging
void StpSetErrorLevel( ULONG )
Decision what to do on case of error CSTPERR - flags
LONG StpHandleWarning( LONG )
Decide what to do with warning
LONG StpHandleError( LONG )
Decide what to do with error
void StpWriteLog( const SCString&, const SCString& )
Write logdata to logfile
void StpSetTmpPrefixLog( const SCString& scsTP )
Set temp prefix of the actual logrecord
protected members
CStpKCProt Prot
Infra Kernel log object
BOOL bFileSet
Logfile has been opend
SCString scsTmpPrefix
Stores temporary prefix
LONG lLenOfLogText
Stores the Lengh of log record to be written to logfile
SCString StpGetTimeStamp()
time stamps for logfiles
LONG WrittenWarnings
Number of warnings written to logfile
LONG WrittenErrors
Number of errors written to logfile