Feat: Add dakiny_bot logger.

This commit is contained in:
2025-05-25 22:11:37 -04:00
parent fd1d1c075e
commit 142cc337a0
+10
View File
@@ -0,0 +1,10 @@
"""Creates logger for Dakiny bot."""
import logging
import sys
dakiny_logger = logging.getLogger("default")
dakiny_logger.setLevel(logging.INFO)
handler = logging.StreamHandler(sys.stdout)
handler.setFormatter(logging.Formatter("%(asctime)s:%(levelname)s:%(name)s: %(message)s"))
dakiny_logger.addHandler(handler)