MCPcopy Create free account
hub / github.com/DingGuodong/LinuxBashShellScriptForOps / console_log_msg

Function console_log_msg

functions/log/pyLogging_u5.py:58–80  ·  view source on GitHub ↗

send log to file and sys.stderr :param msg: str, log message :param level: str, log severity, error、warn、debug、info :param name: str, set the logger with the specified name :return:

(msg, level="info", name="root")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

pyLogging_u5.pyFile · 0.70

Calls 5

set_loggerFunction · 0.85
warningMethod · 0.80
errorMethod · 0.45
debugMethod · 0.45
infoMethod · 0.45

Tested by

no test coverage detected