#NEWLINE# def add( self , level , message , extra_tags = '' ) : #NEWLINE# #INDENT# '\n        Queues a message to be stored.\n\n        The message is only queued if it contained something and its level is\n        not less than the recording level (``self.level``).\n        ' #NEWLINE# if ( not message ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# level = int ( level ) #NEWLINE# if ( level < self . level ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . added_new = True #NEWLINE# message = Message ( level , message , extra_tags = extra_tags ) #NEWLINE# self . _queued_messages . append ( message )