Common¶
The common module contains stable, infrastructure-free abstractions that may be used by all layers.
API¶
logging
¶
Classes:
| Name | Description |
|---|---|
Logger |
Protocol for logger objects supporting info, warning, and error messages. |
NullLogger |
A logger implementation that ignores all log messages. |
Logger
¶
Bases: Protocol
Protocol for logger objects supporting info, warning, and error messages.
Any logger implementing this protocol must provide info, warning, and error methods that accept a string message.
NullLogger
¶
A logger implementation that ignores all log messages.
This logger provides info, warning, and error methods that do nothing, useful for disabling logging in certain contexts.
