#NEWLINE# def emit( self , record ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# msg = self . format ( record ) #NEWLINE# if ( record . levelno >= self . levelno ) : #NEWLINE# #INDENT# self . write ( msg ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . transient_write ( msg ) #NEWLINE# #UNINDENT# #UNINDENT# except ( KeyboardInterrupt , SystemExit ) : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# self . handleError ( record )