_default variable

A Logger configured from the environment, constructed at import time.

Signature:

_default: Logger

Remarks

Shared by every module that imports it, which is normally what you want — one set of transports per process. Construct Logger directly instead when you need different metadata or transports for a particular subsystem.

Because it is built at import time, LOGGER_TRANSPORTS and LOGGER_METADATA must already be set when this module is first imported; changing them later has no effect on this instance.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.