StackExchange.Redis

Events

The ConnectionMultiplexer type exposes multiple events that can be used to understand what is happening under the covers. This can be useful in particular for logging purposes.

Note that the pub/sub implementation in StackExchange.Redis works similarly to events, with Subscribe / SubscribeAsync accepting an Action<RedisChannel, RedisValue> callback that is invoked when messages are received.