MCPcopy Create free account
hub / github.com/ceph/ceph / __init__

Method __init__

src/pybind/mgr/mgr_module.py:713–716  ·  view source on GitHub ↗
(self, module_inst: Any)

Source from the content-addressed store, hash-verified

711
712class ClusterLogHandler(logging.Handler):
713 def __init__(self, module_inst: Any):
714 super().__init__()
715 self._module = module_inst
716 self.setFormatter(logging.Formatter("%(message)s"))
717
718 def emit(self, record: logging.LogRecord) -> None:
719 levelmap = {

Callers

nothing calls this directly

Calls 2

FormatterMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected