structlog#
- class litestar.plugins.structlog.StructlogConfig#
Bases:
object
StructlogConfig(structlog_logging_config: ‘StructLoggingConfig’ = <factory>, middleware_logging_config: ‘LoggingMiddlewareConfig’ = <factory>, enable_middleware_logging: ‘bool’ = True)
- structlog_logging_config: StructLoggingConfig#
Structlog Logging configuration for Litestar. See
litestar.logging.config.StructLoggingConfig`
for details.
- middleware_logging_config: LoggingMiddlewareConfig#
Middleware logging config.