Package flumotion :: Package component :: Package plugs :: Module loggers :: Class Logger
[hide private]

Class Logger

source code

extern.log.log.Loggable --+        
                          |        
                  base.Plug --+    
                              |    
             base.ComponentPlug --+
                                  |
                                 Logger
Known Subclasses:

Base class for logger implementations. Should be renamed to StreamLogger later...

Instance Methods [hide private]
 
event(self, type, args)
Handle a log event.
source code
 
rotate(self) source code

Inherited from base.ComponentPlug: restart, start, stop

Inherited from base.Plug: __init__

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]

Inherited from extern.log.log.Loggable: __implemented__, __provides__, logCategory

Method Details [hide private]

event(self, type, args)

source code 

Handle a log event.

This dispatches a particular event type such as "http_session_completed" to a method "event_http_session_completed".

Returns a Deferred (which will fire once the event handling has been completed), or None.