Skip to content
Snippets Groups Projects
Commit 7147e8ad authored by Maxim Gonchar's avatar Maxim Gonchar
Browse files

Merge commit '91cc64ec'

parents 1086df0f 91cc64ec
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ def get_logger(
*,
filename: Optional[str] = None,
debug: bool = False,
console: bool = False,
console: bool = True,
formatstr: Optional[str] = "%(asctime)s - %(levelname)s - %(message)s",
) -> Logger:
if logger := _loggers.get(name):
......@@ -40,6 +40,9 @@ def get_logger(
_loggers[name] = logger
return logger
logger = get_logger()
SUBINFO = INFO-10
SUBSUBINFO = INFO-20
logging.addLevelName(SUBINFO, "SUBINFO")
logging.addLevelName(SUBSUBINFO, "SUBSUBINFO")
logger = get_logger()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment