Initial import
This commit is contained in:
8
app/logger.py
Normal file
8
app/logger.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import logging
|
||||
import sys
|
||||
|
||||
def init_logger() -> None:
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format="%(asctime)s %(levelname)s %(name)s: %(message)s",
|
||||
stream=sys.stdout)
|
||||
Reference in New Issue
Block a user