4083cddb49ad60cbdb70fd3e2e1cabb4bcb08c45,slm_lab/lib/logger.py,,,#,10
Before Change
logging.addLevelName(DEBUG2, "DEBUG2")
logging.addLevelName(DEBUG3, "DEBUG3")
setattr(logging, "DEBUG2", DEBUG2)
setattr(logging, "DEBUG3", DEBUG3)
LOG_FORMAT = "[%(asctime)s %(levelname)s] %(message)s"
color_formatter = colorlog.ColoredFormatter(
"%(log_color)s[%(asctime)s %(levelname)s]%(reset)s %(message)s")
After Change
import warnings
// extra debugging level deeper than the default debug
NEW_LVLS = {"DEBUG2": 9, "DEBUG3": 8}
for name, val in NEW_LVLS.items():
logging.addLevelName(val, name)
setattr(logging, name, val)
LOG_FORMAT = "[%(asctime)s %(levelname)s] %(message)s"
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: kengz/SLM-Lab
Commit Name: 4083cddb49ad60cbdb70fd3e2e1cabb4bcb08c45
Time: 2018-02-02
Author: kengzwl@gmail.com
File Name: slm_lab/lib/logger.py
Class Name:
Method Name:
Project Name: biolab/orange3
Commit Name: c073de4002f7a72babc8fd6ecdcd90c141be2c08
Time: 2013-01-21
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/utils/datacaching.py
Class Name:
Method Name: getCached
Project Name: biolab/orange3
Commit Name: c073de4002f7a72babc8fd6ecdcd90c141be2c08
Time: 2013-01-21
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/utils/datacaching.py
Class Name:
Method Name: setCached
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a70f50b67ad5a25e0b63a5030a43a331b9f2e582
Time: 2018-01-02
Author: chenyumic@google.com
File Name: appengine/flexible/twilio/main_test.py
Class Name:
Method Name: test_send_sms
Project Name: pymc-devs/pymc3
Commit Name: 2c44b5e4c409710375e6b5b57732a9ca31461763
Time: 2008-11-11
Author: david.huard@15d7aa0b-6f1a-0410-991a-d59f85d14984
File Name: pymc/database/mysql.py
Class Name:
Method Name: load