diff --git a/bin/deepstate/common.py b/bin/deepstate/common.py index 8a8cddc..a4af86b 100644 --- a/bin/deepstate/common.py +++ b/bin/deepstate/common.py @@ -43,9 +43,9 @@ LOG_LEVEL_FATAL = 6 LOGGER = logging.getLogger("deepstate") LOGGER.setLevel(logging.DEBUG) -def logTrace(msg, *args, **kwargs): +def log_trace(msg, *args, **kwargs): logging.log(15, msg, args, kwargs) -LOGGER.trace = logTrace +LOGGER.trace = log_trace LOG_LEVEL_TO_LOGGER = { LOG_LEVEL_DEBUG: LOGGER.debug,