Logger#

watergap_logger.config_logger(level, modname, msg, debug=False)[source]#

Set logger.

Parameters:
modnamestr

Module name

levellogging level

Set level as e.g. logging.DEBUG. Prefix of level should always be ‘logging.(level name)’

debugbool(True or False)

Optional argument to enable or disable traceback for debugging

Returns:
logger

returns logging information.