lasagnastack.logging_config¶
lasagnastack.logging_config
¶
configure_logging
¶
Configure structlog for the process.
Reads LOG_FORMAT from the environment: set to "json" for
machine-parseable output (useful in CI or when shipping logs to an
aggregator). Any other value (or absent) produces human-readable
ConsoleRenderer output.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
level
|
str
|
Minimum log level string, e.g. |
'INFO'
|