Add logging and log formats
This commit is contained in:
parent
4e37154737
commit
3b3ce99625
1 changed files with 8 additions and 0 deletions
|
|
@ -1 +1,9 @@
|
||||||
|
import logging
|
||||||
|
logging.basicConfig(
|
||||||
|
level=logging.DEBUG,
|
||||||
|
format="[{levelname}] in {threadName: <13} <{name}>: {message}",
|
||||||
|
style="{"
|
||||||
|
)
|
||||||
|
|
||||||
from .basic_types import Message, SessionView
|
from .basic_types import Message, SessionView
|
||||||
|
from .callbacks import Callbacks
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue