ComplexLogger (gb.logging)
This class can be used like an object by creating a hidden instance on demand.
This class is
creatable.
This class can be used as a
function.
Properties
Methods
Begin
|
Initializes the ComplexLogger. You need to call this method before logging anything, it will make sure that the Handlers are available and ready to be written.
|
Close
|
Closes all the handlers, and clears the resources. No messages can be logged after calling this method.
|
Log
|
Notifies the handlers added to this ComplexLogger to log sMessage, but only if isEnabledFor of the handler returns True for iLevel.
|
addHandler
|
Adds hLogHandler to the list of handlers this ComplexLogger will write to.
|