Logger.addHandler(hdlr) Adds the specified handler hdlr to this logger.
formatTime(record, datefmt=None) This method should be called from
Logger.filter(record) Applies this logger’s filters to the record and returns a true value if the record is to be processed
handle(record) This method does nothing.
logging.lastResort A “handler of last resort” is available through this attribute. This is a
logging.config.fileConfig(fname, defaults=None, disable_existing_loggers=True) Reads the logging configuration from a
flush() You can override this to implement custom flushing behavior. This version just zaps the buffer to empty.
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.warning(msg, *args, **kwargs) Logs a message with level WARNING on this logger. The arguments are interpreted
Page 1 of 15