1 write to _logger
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
68
_logger
= services.GetService<ILoggerFactory>()?.CreateLogger(typeof(HybridCache)) ?? NullLogger.Instance;
10 references to _logger
Microsoft.Extensions.Caching.Hybrid (10)
Internal\DefaultHybridCache.cs (6)
137
&& untyped is CacheItem<T> typed && typed.TryGetValue(
_logger
, out var value))
169
return stampede.UnwrapReservedAsync(
_logger
);
181
return stampede.JoinAsync(
_logger
, cancellationToken);
218
_logger
.KeyEmptyOrWhitespace();
224
_logger
.MaximumKeyLengthExceeded(_maximumKeyLength, key.Length);
230
_logger
.KeyInvalidContent();
Internal\DefaultHybridCache.Serialization.cs (2)
86
_logger
.MaximumPayloadBytesExceeded(ex, MaximumPayloadBytes);
95
_logger
.SerializationFailure(ex);
Internal\DefaultHybridCache.StampedeStateT.cs (2)
209
Cache.
_logger
.CacheUnderlyingDataQueryFailure(ex);
317
Cache.
_logger
.CacheBackendWriteFailure(ex);