logging.handlers.TimedRotatingFileHandler.format

TimedRotatingFileHandler.format(record)

Format the specified record.

If a formatter is set, use it. Otherwise, use the default formatter for the module.