MCPcopy Create free account
hub / github.com/baidu/bigflow / init_log

Function init_log

bigflow_python/python/bigflow/util/log.py:250–274  ·  view source on GitHub ↗

init_log - initialize log module Args: level (str): msg above the level will be displayed DEBUG < INFO < WARNING < ERROR < CRITICAL \n ``the default value is logging.INFO`` Raises: OSError: fail to create log directories

(level=logging.INFO)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

log.pyFile · 0.85

Calls 2

enable_pretty_loggingFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected