1 instantiation of HybridCacheEventSource
Microsoft.Extensions.Caching.Hybrid (1)
Internal\HybridCacheEventSource.cs (1)
14public static readonly HybridCacheEventSource Log = new();
23 references to HybridCacheEventSource
Microsoft.Extensions.Caching.Hybrid (23)
Internal\DefaultHybridCache.cs (4)
147bool eventSourceEnabled = HybridCacheEventSource.Log.IsEnabled(); 157HybridCacheEventSource.Log.LocalCacheHit(); 166HybridCacheEventSource.Log.LocalCacheMiss(); 192HybridCacheEventSource.Log.StampedeJoin();
Internal\DefaultHybridCache.L2.cs (2)
217if (HybridCacheEventSource.Log.IsEnabled()) 219HybridCacheEventSource.Log.LocalCacheWrite();
Internal\DefaultHybridCache.StampedeStateT.cs (11)
169bool eventSourceEnabled = HybridCacheEventSource.Log.IsEnabled(); 193HybridCacheEventSource.Log.DistributedCacheGet(); 201HybridCacheEventSource.Log.DistributedCacheHit(); 205HybridCacheEventSource.Log.DistributedCacheMiss(); 213HybridCacheEventSource.Log.DistributedCacheCanceled(); 222HybridCacheEventSource.Log.DistributedCacheFailed(); 271HybridCacheEventSource.Log.UnderlyingDataQueryStart(); 278HybridCacheEventSource.Log.UnderlyingDataQueryComplete(); 287HybridCacheEventSource.Log.UnderlyingDataQueryCanceled(); 291HybridCacheEventSource.Log.UnderlyingDataQueryFailed(); 378HybridCacheEventSource.Log.DistributedCacheWrite();
Internal\DefaultHybridCache.TagInvalidation.cs (2)
258if (HybridCacheEventSource.Log.IsEnabled()) 260HybridCacheEventSource.Log.TagInvalidated();
Internal\HybridCacheEventSource.cs (4)
14public static readonly HybridCacheEventSource Log = new(); 53Debug.WriteLine($"{nameof(HybridCacheEventSource)} counters reset!"); 230Debug.Assert(IsEnabled(), $"Missing check to {nameof(HybridCacheEventSource)}.{nameof(Log)}.{nameof(IsEnabled)} from {caller}"); 231Debug.WriteLine($"{nameof(HybridCacheEventSource)}: {caller}"); // also log all event calls, for visibility