Initial commit

This commit is contained in:
Roman Krček
2024-07-22 14:16:53 +02:00
commit c736ee6193
12 changed files with 342 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import logging
def configure_logger(log_level: str) -> logging.Logger:
log_format = (
"%(asctime)s | %(levelname)7s | %(module)10s "
"| %(funcName)20s | %(message)s"
)
logging.basicConfig(
level=log_level,
format=log_format,
)
return logging.getLogger()