Small fixes.

This commit is contained in:
OK
2023-03-22 11:31:38 +01:00
parent 9b75926bc3
commit 7af0a7aa81
5 changed files with 15 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
import sys
import logging
def setup_logging():
logging_handler = logging.StreamHandler(stream=sys.stdout)
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(message)s",
handlers=[logging_handler],
)