1 write to _logger
Microsoft.Extensions.Caching.Memory (1)
MemoryCache.cs (1)
53_logger = loggerFactory.CreateLogger<MemoryCache>();
7 references to _logger
Microsoft.Extensions.Caching.Memory (7)
CacheEntry.CacheEntryTokens.cs (1)
135entry._cache._logger.LogError(e, "EvictionCallback invoked failed");
MemoryCache.cs (6)
483if (_logger.IsEnabled(LogLevel.Debug)) 484_logger.LogDebug("Overcapacity compaction triggered"); 508if (_logger.IsEnabled(LogLevel.Debug)) 509_logger.LogDebug($"Overcapacity compaction executing. Current size {currentSize}"); 521if (_logger.IsEnabled(LogLevel.Debug)) 522_logger.LogDebug($"Overcapacity compaction executed. New size {coherentState.Size}");