#NEWLINE# def sync_with_handlers( self , handlers = ( ) ) : #NEWLINE# #INDENT# '\n        Sync the stored log records to the provided log handlers.\n        ' #NEWLINE# if ( not handlers ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# while self . __messages : #NEWLINE# #INDENT# record = self . __messages . pop ( 0 ) #NEWLINE# for handler in handlers : #NEWLINE# #INDENT# if ( handler . level > record . levelno ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# handler . handle ( record )