dynamic display of log messages now working

This commit is contained in:
Lincoln Stein
2023-06-02 22:24:46 -04:00
parent 1390b65a9c
commit 91918e648b
3 changed files with 107 additions and 11 deletions

View File

@ -31,7 +31,7 @@ IAILogger.debug('this is a debugging message')
"""
import logging
import sys
# module level functions
def debug(msg, *args, **kwargs):
@ -93,7 +93,6 @@ class InvokeAILogFormatter(logging.Formatter):
formatter = logging.Formatter(log_fmt, datefmt="%d-%m-%Y %H:%M:%S")
return formatter.format(record)
class InvokeAILogger(object):
loggers = dict()