removed cli and added filtering
This commit is contained in:
parent
9e481fc2e3
commit
1cbe40c8c8
9 changed files with 149 additions and 167 deletions
13
src/log.py
Normal file
13
src/log.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
import logging
|
||||
import sys
|
||||
|
||||
Log_Format = "%(levelname)s %(asctime)s - %(message)s"
|
||||
|
||||
logging.basicConfig(stream = sys.stdout,
|
||||
filemode = "w",
|
||||
format = Log_Format,
|
||||
level = logging.INFO)
|
||||
|
||||
|
||||
def get_logger(name):
|
||||
return logging.getLogger(name)
|
Loading…
Add table
Add a link
Reference in a new issue