change name

This commit is contained in:
Alex Groce
2018-12-22 15:22:00 -07:00
parent feec722f83
commit 7fb1a04a4a
+2 -2
View File
@@ -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,