This commit is contained in:
2026-05-05 23:18:54 +05:30
commit fe29ff0c57
13 changed files with 345 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import logging
def setup_logging():
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(name)s - %(message)s"
)
def get_logger(name):
return logging.getLogger(name)