NatsLoggingMixin
faststream.nats.shared.logging.NatsLoggingMixin #
NatsLoggingMixin(*args: Any, logger: Optional[Logger] = access_logger, log_level: int = logging.INFO, log_fmt: Optional[str] = None, **kwargs: Any)
Bases: LoggingMixin
A class to represent a NATS logging mixin.
Initialize the NATS logging mixin.
PARAMETER | DESCRIPTION |
---|---|
*args | The arguments. TYPE: |
logger | The logger. |
log_level | The log level. |
log_fmt | The log format. |
**kwargs | The keyword arguments. TYPE: |