<s> __all__ = [ '<STR_LIT>' ] <EOL> log = __import__ ( '<STR_LIT>' ) . getLogger ( __name__ ) <EOL> class LoggingTransport ( object ) : <EOL> __slots__ = ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> def __init__ ( self , config ) : <EOL> self . log = log if '<STR_LIT:name>' not in config else __import__ ( '<STR_LIT>' ) . getLogger ( config . name ) <EOL> def startup ( self ) : <EOL> log . debug ( "<STR_LIT>" ) <EOL> def deliver ( self , message ) : <EOL> msg = str ( message ) <EOL> self . log . info ( "<STR_LIT>" , message . id , message . date . isoformat ( ) , <EOL> len ( msg ) , message . author , message . recipients ) <EOL> self . log . critical ( msg ) <EOL> def shutdown ( self ) : <EOL> log . debug ( "<STR_LIT>" ) </s>
