rivapereira123 commited on
Commit
1d63bf9
·
verified ·
1 Parent(s): c28178f

Create logger.py

Browse files
Files changed (1) hide show
  1. core/logger.py +9 -0
core/logger.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # core/utils/logger.py
2
+ import logging
3
+
4
+ logging.basicConfig(
5
+ level=logging.INFO,
6
+ format="%(asctime)s [%(levelname)s] %(name)s: %(message)s"
7
+ )
8
+
9
+ logger = logging.getLogger("first_aid_app")