whisk.log

Module for setting up logging.

Module Contents

Functions

configure_logger(stream_level='DEBUG', log_file=None)

Configure logging for whisk.

Attributes

LOG_LEVELS

LOG_FORMATS

whisk.log.LOG_LEVELS[source]
whisk.log.LOG_FORMATS[source]
whisk.log.configure_logger(stream_level='DEBUG', log_file=None)[source]

Configure logging for whisk. Set up logging to stdout with given level. If log_file is given set up logging to file with DEBUG level.