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)
135
entry._cache.
_logger
.LogError(e, "EvictionCallback invoked failed");
MemoryCache.cs (6)
477
if (
_logger
.IsEnabled(LogLevel.Debug))
478
_logger
.LogDebug("Overcapacity compaction triggered");
502
if (
_logger
.IsEnabled(LogLevel.Debug))
503
_logger
.LogDebug($"Overcapacity compaction executing. Current size {currentSize}");
515
if (
_logger
.IsEnabled(LogLevel.Debug))
516
_logger
.LogDebug($"Overcapacity compaction executed. New size {coherentState.Size}");