logging.error(msg, *args, **kwargs) Logs a message with level ERROR on the root logger. The arguments are interpreted
filter(record) Is the specified record to be logged? Returns zero for no, nonzero for yes. If deemed appropriate, the record
Logger.filter(record) Applies this logger’s filters to the record and returns a true value if the record is to be processed
Logger.isEnabledFor(lvl) Indicates if a message of severity lvl would be processed by this logger. This method checks
Logger.addFilter(filt) Adds the specified filter filt to this logger.
doRollover() Does a rollover, as described above.
flush() For a MemoryHandler, flushing means just sending the buffered records to the target, if there is one. The
dequeue(block) Dequeues a record and return it, optionally blocking. The base implementation
handle(record) This method does nothing.
logging.lastResort A “handler of last resort” is available through this attribute. This is a
Page 1 of 15