1 write to _logger
Microsoft.Extensions.Caching.Memory (1)
MemoryCache.cs (1)
55_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)
477if (_logger.IsEnabled(LogLevel.Debug)) 478_logger.LogDebug("Overcapacity compaction triggered"); 502if (_logger.IsEnabled(LogLevel.Debug)) 503_logger.LogDebug($"Overcapacity compaction executing. Current size {currentSize}"); 515if (_logger.IsEnabled(LogLevel.Debug)) 516_logger.LogDebug($"Overcapacity compaction executed. New size {coherentState.Size}");