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)
530if (_logger.IsEnabled(LogLevel.Debug)) 531_logger.LogDebug("Overcapacity compaction triggered"); 555if (_logger.IsEnabled(LogLevel.Debug)) 556_logger.LogDebug($"Overcapacity compaction executing. Current size {currentSize}"); 568if (_logger.IsEnabled(LogLevel.Debug)) 569_logger.LogDebug($"Overcapacity compaction executed. New size {coherentState.Size}");