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

Class _Configuration

src/structlog/_config.py:63–75  ·  view source on GitHub ↗

Global defaults.

Source from the content-addressed store, hash-verified

61
62
63class _Configuration:
64 """
65 Global defaults.
66 """
67
68 is_configured: bool = False
69 default_processors: Iterable[Processor] = _BUILTIN_DEFAULT_PROCESSORS[:]
70 default_context_class: type[Context] = _BUILTIN_DEFAULT_CONTEXT_CLASS
71 default_wrapper_class: Any = _BUILTIN_DEFAULT_WRAPPER_CLASS
72 logger_factory: Callable[..., WrappedLogger] = (
73 _BUILTIN_DEFAULT_LOGGER_FACTORY
74 )
75 cache_logger_on_first_use: bool = _BUILTIN_CACHE_LOGGER_ON_FIRST_USE
76
77
78_CONFIG = _Configuration()

Callers 1

_config.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…