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)) 169return stampede.UnwrapReservedAsync(_logger); 181return 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)
209Cache._logger.CacheUnderlyingDataQueryFailure(ex); 317Cache._logger.CacheBackendWriteFailure(ex);