nat.middleware.logging.logging_middleware_config#

Classes#

LoggingMiddlewareConfig

Configuration for logging middleware.

Module Contents#

class LoggingMiddlewareConfig(/, **data: Any)#

Bases: nat.middleware.dynamic.dynamic_middleware_config.DynamicMiddlewareConfig

Configuration for logging middleware.

Extends DynamicMiddlewareConfig to inherit all dynamic discovery features (register_llms, register_workflow_functions, and so on) and the enabled toggle.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

log_level: str = None#