removed cli and added filtering

This commit is contained in:
mcinj 2022-04-23 15:00:22 -04:00
parent 9e481fc2e3
commit 1cbe40c8c8
9 changed files with 149 additions and 167 deletions

13
src/log.py Normal file
View 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)