LoggingΒΆ

add_file_handler(fname[, mode, encoding, ...])

Add a file handler to the logger.

set_log_level(verbose)

Set the log level for the logger and the first handler sys.stdout.