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

Method __init__

st2common/st2common/log.py:205–207  ·  view source on GitHub ↗
(self, name, level=logging.ERROR)

Source from the content-addressed store, hash-verified

203
204class LoggingStream(object):
205 def __init__(self, name, level=logging.ERROR):
206 self._logger = getLogger(name)
207 self._level = level
208
209 def write(self, message):
210 # Work around for infinite loop issue - ensure we don't log unicode data.

Callers

nothing calls this directly

Calls 1

getLoggerFunction · 0.85

Tested by

no test coverage detected