Logger.exception(msg, *args, **kwargs) Logs a message with level ERROR on this logger. The arguments are interpreted
class logging.handlers.TimedRotatingFileHandler(filename, when='h', interval=1, backupCount=0, encoding=None, delay=False, utc=False, atTime=None)
logging.captureWarnings(capture) This function is used to turn the capture of warnings by logging on and off.
namer If this attribute is set to a callable, the rotation_filename() method delegates to this callable. The parameters
Handler.setLevel(lvl) Sets the threshold for this handler to lvl. Logging messages which are less severe than lvl
close() At this point, you can remove the application name from the registry as a source of event log entries. However, if you
logging.exception(msg, *args, **kwargs) Logs a message with level ERROR on the root logger. The arguments are interpreted
Handler.createLock() Initializes a thread lock which can be used to serialize access to underlying I/O functionality which may
Logger.handle(record) Handles a record by passing it to all handlers associated with this logger and its ancestors (until a
Logger.makeRecord(name, lvl, fn, lno, msg, args, exc_info, func=None, extra=None, sinfo=None) This is a factory method which
Page 4 of 15