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)
135
entry._cache.
_logger
.LogError(e, "EvictionCallback invoked failed");
MemoryCache.cs (6)
483
if (
_logger
.IsEnabled(LogLevel.Debug))
484
_logger
.LogDebug("Overcapacity compaction triggered");
508
if (
_logger
.IsEnabled(LogLevel.Debug))
509
_logger
.LogDebug($"Overcapacity compaction executing. Current size {currentSize}");
521
if (
_logger
.IsEnabled(LogLevel.Debug))
522
_logger
.LogDebug($"Overcapacity compaction executed. New size {coherentState.Size}");