mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-26 17:08:54 +01:00
color logging 2
This commit is contained in:
parent
7a9f219037
commit
73e92a688f
@ -11,6 +11,10 @@ from sdkit.utils import log as sdkit_log # hack, so we can overwrite the log con
|
||||
from easydiffusion import task_manager
|
||||
from easydiffusion.utils import log
|
||||
|
||||
# Remove all handlers associated with the root logger object.
|
||||
for handler in logging.root.handlers[:]:
|
||||
logging.root.removeHandler(handler)
|
||||
|
||||
LOG_FORMAT = '%(asctime)s.%(msecs)03d %(levelname)s %(threadName)s %(message)s'
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
|
Loading…
Reference in New Issue
Block a user