#NEWLINE# def emit( self , record ) : #NEWLINE# #INDENT# if self . async : #NEWLINE# #INDENT# http_writer = Thread ( target = self . write_log , args = ( record , ) ) #NEWLINE# http_writer . start ( ) #NEWLINE# return #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . write_log ( record ) #NEWLINE# return