python::GBSLogger::GBSLogger Class Reference

List of all members.

Public Member Functions

def __init__
def Log

Public Attributes

 FATAL
 ERROR
 WARNING
 INFO
 SYNOPSIS
 DEBUG


Detailed Description

Internal logger - for reporting information about GBS itself

Definition at line 1 of file GBSLogger.py.


Member Function Documentation

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()


Member Data Documentation

python::GBSLogger::GBSLogger::FATAL

Definition at line 5 of file GBSLogger.py.

python::GBSLogger::GBSLogger::ERROR

Definition at line 6 of file GBSLogger.py.

python::GBSLogger::GBSLogger::WARNING

Definition at line 7 of file GBSLogger.py.

python::GBSLogger::GBSLogger::INFO

Definition at line 8 of file GBSLogger.py.

python::GBSLogger::GBSLogger::SYNOPSIS

Definition at line 9 of file GBSLogger.py.

python::GBSLogger::GBSLogger::DEBUG

Definition at line 11 of file GBSLogger.py.


The documentation for this class was generated from the following file:
Generated on Mon Feb 18 14:42:03 2008 for gbs by  doxygen 1.5.4