migrate snippets from gitlab
This commit is contained in:
7
python_default_logger.py
Normal file
7
python_default_logger.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import logging
|
||||
|
||||
LOG=logging.getLogger()
|
||||
|
||||
logging.Formatter.default_time_format='%H:%M:%S'
|
||||
logging.Formatter.default_msec_format='%s.%03d'
|
||||
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s [%(process)i] %(levelname).4s %(module)s.%(funcName)s: %(message)s'
|
||||
Reference in New Issue
Block a user