abd8a693a79deb91e437ed8ae88d87b61fb4f62f,mindsdb/libs/helpers/log.py,,info,#Any#,63
Before Change
def info(message):
global sio
message = pprint.pformat(str(message))
caller = getframeinfo(stack()[1][0])
if send:
sio.emit("call",{"message":str(message),"uuid":id})
internal_logger.info("%s:%d - %s" % (caller.filename.split("mindsdb/")[-1], caller.lineno, message))
def warning(message):
global sio
After Change
log_message(message, "debug")
def info(message):
log_message(message, "info")
def warning(message):
log_message(message, "warning")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 24
Instances
Project Name: mindsdb/mindsdb
Commit Name: abd8a693a79deb91e437ed8ae88d87b61fb4f62f
Time: 2019-02-04
Author: george@cerebralab.com
File Name: mindsdb/libs/helpers/log.py
Class Name:
Method Name: info
Project Name: mindsdb/mindsdb
Commit Name: abd8a693a79deb91e437ed8ae88d87b61fb4f62f
Time: 2019-02-04
Author: george@cerebralab.com
File Name: mindsdb/libs/helpers/log.py
Class Name:
Method Name: error
Project Name: mindsdb/mindsdb
Commit Name: abd8a693a79deb91e437ed8ae88d87b61fb4f62f
Time: 2019-02-04
Author: george@cerebralab.com
File Name: mindsdb/libs/helpers/log.py
Class Name:
Method Name: info
Project Name: mindsdb/mindsdb
Commit Name: abd8a693a79deb91e437ed8ae88d87b61fb4f62f
Time: 2019-02-04
Author: george@cerebralab.com
File Name: mindsdb/libs/helpers/log.py
Class Name:
Method Name: warning