filter(record) Is the specified record to be logged? Returns zero for no, nonzero for yes. If deemed appropriate, the record
class logging.handlers.QueueListener(queue, *handlers, respect_handler_level=False) Returns a new instance of the QueueListener
flush() For a MemoryHandler, flushing means just sending the buffered records to the target, if there is one. The
Logger.removeHandler(hdlr) Removes the specified handler hdlr from this logger.
Handler.removeFilter(filt) Removes the specified filter filt from this handler.
logging.lastResort A “handler of last resort” is available through this attribute. This is a
formatTime(record, datefmt=None) This method should be called from
flush() You can override this to implement custom flushing behavior. This version just zaps the buffer to empty.
handle(record) This method does nothing.
logging.config.fileConfig(fname, defaults=None, disable_existing_loggers=True) Reads the logging configuration from a
Page 2 of 15