merton.logging¶
Structured logging wiring for merton.
The library uses structlog. By default it emits at WARNING and writes
human-readable output to stderr when run interactively, JSON otherwise.
Applications can configure logging themselves; we never touch the stdlib root
logger except via the user-facing enable() helper.
Functions¶
|
Return a structlog bound logger named |
|
Wire up a sensible default logging configuration. |