MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / get_context_logger

Method get_context_logger

src/core/log/log.py:77–78  ·  view source on GitHub ↗
(self, **context)

Source from the content-addressed store, hash-verified

75 app_logger.propagate = False
76
77 def get_context_logger(self, **context) -> LoggerAdapter:
78 return LoggerAdapter(self.base_logger, context)
79
80 def _log(self, level: str, message: str, **kwargs) -> None:
81 log_method = getattr(self.logger, level.lower())

Callers

nothing calls this directly

Calls 1

LoggerAdapterClass · 0.90

Tested by

no test coverage detected