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