Public Member Functions | |
| def | __init__ |
| def | Log |
Public Attributes | |
| FATAL | |
| ERROR | |
| WARNING | |
| INFO | |
| SYNOPSIS | |
| DEBUG | |
Internal logger - for reporting information about GBS itself
Definition at line 1 of file GBSLogger.py.
| def python::GBSLogger::GBSLogger::__init__ | ( | self | ) |
Definition at line 4 of file GBSLogger.py.
00004 : 00005 self.FATAL = 6 # Crash and burn 00006 self.ERROR = 5 # Something is definitely wrong but can continue 00007 self.WARNING = 4 # Something is unusual but not definitely wrong 00008 self.INFO = 3 # Normal stuff user expects to see 00009 self.SYNOPSIS = 2 # A bit more detail so user can see a what going on behind the scenes 00010 # includes object construction. 00011 self.DEBUG = 1 # In depth debug level 00012 def Log(self,level,message) :
| def python::GBSLogger::GBSLogger::Log | ( | self, | ||
| level, | ||||
| message | ||||
| ) |
Definition at line 13 of file GBSLogger.py.
00013 : 00014 if level >= loggerThreshold: print message 00015 00016 # Singleton object and access to its Log method 00017 logger = GBSLogger()
Definition at line 5 of file GBSLogger.py.
Definition at line 6 of file GBSLogger.py.
Definition at line 7 of file GBSLogger.py.
Definition at line 8 of file GBSLogger.py.
Definition at line 9 of file GBSLogger.py.
Definition at line 11 of file GBSLogger.py.
1.5.4