Package flumotion :: Package component :: Package plugs :: Module request :: Class RequestLoggerPlug
[hide private]

Class RequestLoggerPlug

source code

                 object --+        
                          |        
extern.log.log.Loggable --+        
                          |        
                  base.Plug --+    
                              |    
             base.ComponentPlug --+
                                  |
                                 RequestLoggerPlug
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 object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

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

Class Variables [hide private]

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

Properties [hide private]

Inherited from object: __class__

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.