#NEWLINE# def emit( self , record ) : #NEWLINE# #INDENT# 'Emits logged message by delegating it\n        ' #NEWLINE# try : #NEWLINE# #INDENT# formated = self . _serializable_record ( self ) #NEWLINE# self . _delegate_emit ( formated ) #NEWLINE# #UNINDENT# except ( KeyboardInterrupt , SystemExit ) : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# self . handleError ( record )