otwrapy.create_logger

create_logger(logfile, loglevel=None)

Create a logger with a FileHandler at the given loglevel.

Parameters:
logfilestr

Filename for the logger FileHandler to be created.

loglevellogging level

Threshold for the logger. Logging messages which are less severe than loglevel will be ignored. It defaults to logging.DEBUG.