MCPcopy Create free account
hub / github.com/hynek/structlog / msg

Method msg

src/structlog/_output.py:107–113  ·  view source on GitHub ↗

Print *message*.

(self, message: str)

Source from the content-addressed store, hash-verified

105 return f"<PrintLogger(file={self._file!r})>"
106
107 def msg(self, message: str) -> None:
108 """
109 Print *message*.
110 """
111 f = self._file if self._file is not stdout else None
112 with self._lock:
113 print(message, file=f, flush=True)
114
115 log = debug = info = warn = warning = msg
116 fatal = failure = err = error = critical = exception = msg

Callers 13

test_pickleMethod · 0.45
test_deepcopyMethod · 0.45
test_pickleMethod · 0.45
test_deepcopyMethod · 0.45
test_return_loggerMethod · 0.45
test_msgMethod · 0.45

Calls

no outgoing calls

Tested by 12

test_pickleMethod · 0.36
test_deepcopyMethod · 0.36
test_pickleMethod · 0.36
test_deepcopyMethod · 0.36
test_return_loggerMethod · 0.36
test_msgMethod · 0.36