core.utils.logging_utils.setup_logger

core.utils.logging_utils.setup_logger(outdir=None, label=None, log_level='INFO')

Setup logging output: call at the start of the script to use

Parameters

Name Type Description Default
outdir If supplied, write the logging output to outdir/label.log None
label If supplied, write the logging output to outdir/label.log None
log_level [‘debug’, ‘info’, ‘warning’] Either a string from the list above, or an integer as specified in https://docs.python.org/2/library/logging.html#logging-levels 'INFO'
Borrowed required