Skip to content

Instance Method

logging(to:)

Temporarily overrides the default logger for command logs to the provided instance.
func logging(to logger: Logger) -> any RedisClient

Parameters

logger

The Logging.Logger instance to use for command logs.

Return Value

A RedisClient with the temporary override for command logging.