/ unidist / log.py
Logging
TODO(g): Many more things for system-wide logging. This will handle many
different streams of logging that may be required by unidist based programs,
which are small and numerous.
Functions
|
|
|
log
|
log ( text, level=DEFAULT_LOG_LEVEL )
Log data.
|
|
Alert
|
Alert ( text )
Alert that something critical happened inside REM.
|
|
Disable
|
Disable ()
Logging will be disabled for this program. Do not run for REM Client.
|
|
SetLogFile
|
SetLogFile ( path )
|
|
GetTimeStamp
|
GetTimeStamp ( minutes=True, seconds=True )
Gets time stamps, for use in dating backup files and other things.
|
|
_GetLogger
|
_GetLogger ()
Gets a singleton logger.
|
|
|