#NEWLINE# def emit( self , record ) : #NEWLINE# #INDENT# original_msg = record . msg #NEWLINE# original_args = record . args #NEWLINE# try : #NEWLINE# #INDENT# self . _translate_and_log_record ( record ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# record . msg = original_msg #NEWLINE# record . args = original_args