MCPcopy
hub / github.com/StackStorm/st2 / getLogger

Method getLogger

st2common/st2common/log.py:325–326  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

323
324 class MockLoggingModule(object):
325 def getLogger(self, *args, **kwargs):
326 return logging.getLogger("lib2to3")
327
328 lib2to3.pgen2.driver.logging = MockLoggingModule()
329 logging.getLogger("lib2to3").setLevel(logging.ERROR)

Callers 15

config.pyFile · 0.80
orquesta_runner.pyFile · 0.80
runtime.pyFile · 0.80
st2kv.pyFile · 0.80
__init__Method · 0.80
python_runner.pyFile · 0.80
http_runner.pyFile · 0.80
winrm_base.pyFile · 0.80

Calls

no outgoing calls

Tested by 4

test_logger_set_levelMethod · 0.64
test_log_infoMethod · 0.64
test_log_criticalMethod · 0.64
test_log_auditMethod · 0.64