in sample/Sample.cs [206:212]
static void LogConnectionEvents(ConnectionMultiplexer connectionMultiplexer)
{
connectionMultiplexer.ConnectionFailed += (sender, args) => Log($"Connection failed: {args.Exception}");
connectionMultiplexer.ConnectionRestored += (sender, args) => Log($"Connection restored to '{args.EndPoint}'");
connectionMultiplexer.ErrorMessage += (sender, args) => Log($"Error: {args.Message}");
connectionMultiplexer.InternalError += (sender, args) => Log($"Internal error: {args.Exception}");
}