This class is meant to be used statically for all logging purposes in
the EDNA framework.
All methods are thread safe.
|
setTestOn()
turn on the test mode: all assertions become verbose (->screen) |
source code
|
|
|
setTestOff()
turn off the test mode: all assertions become silent (->screen) |
source code
|
|
|
setVerboseOn()
This method turns on verbose logging to standard output (stdout) |
source code
|
|
|
setVerboseOff()
This method turns off verbose logging to standard output (stdout) |
source code
|
|
|
setVerboseDebugOn()
This method turns on debug messages to standard output and log file |
source code
|
|
|
setVerboseDebugOff()
This method turns off debug messages to standard output and log file |
source code
|
|
|
|
|
log(_strMessage='
' )
This method writes a message only to the log file. |
source code
|
|
|
screen(_strMessage='
' )
This method writes a message to standard output and to the log file. |
source code
|
|
|
DEBUG(_strDebugMessage='
' )
This method writes a debug message to standard output and to the log
file if debugging is enabled. |
source code
|
|
|
|
|
ERROR(_strMessage='
' )
This method writes a message to standard error and the log file with
the prefix [ERROR]. |
source code
|
|
|
error(_strMessage='
' )
This method writes a message to standard error and the log file with
the prefix [ERROR]. |
source code
|
|
|
WARNING(_strMessage='
' )
This method writes a warning message to standard output and the log
file with the prefix [Warning]. |
source code
|
|
|
warning(_strMessage='
' )
This method writes a warning message to standard output and the log
file with the prefix [Warning]. |
source code
|
|
|
ASSERT(_strMessage)
This method writes an assert message to standard output and the log
file with the prefix [ASSERT]. |
source code
|
|
|
|
|
|
|
setLogFileOff()
This method truns off output to the log file. |
source code
|
|