Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ public static void TokenAcquisitionMsalAuthenticationResultTime(
LoggingEventId.AgentCcaCreated,
"[MsIdWeb] Created new agent CCA for cache key '{CcaCacheKey}'.");

private static readonly Action<ILogger, int, int, Exception?> s_agentCcaEviction =
LoggerMessage.Define<int, int>(
private static readonly Action<ILogger, int, Exception?> s_agentCcaEviction =
LoggerMessage.Define<int>(
LogLevel.Information,
LoggingEventId.AgentCcaEviction,
"[MsIdWeb] Agent CCA cache cleared {EvictedCount} entries (exceeded size threshold). Remaining: {RemainingCount}.");
"[MsIdWeb] CCA dictionary cleared ({EvictedCount} entries exceeded size threshold).");

public static void AgentUserFicFlowDetected(ILogger logger, string agentAppId, string identifierType)
=> s_agentUserFicFlowDetected(logger, agentAppId, identifierType, null);
Expand All @@ -135,8 +135,8 @@ public static void AgentUserFicAcquisitionComplete(ILogger logger, string agentA
public static void AgentCcaCreated(ILogger logger, string ccaCacheKey)
=> s_agentCcaCreated(logger, ccaCacheKey, null);

public static void AgentCcaEviction(ILogger logger, int evictedCount, int remainingCount)
=> s_agentCcaEviction(logger, evictedCount, remainingCount, null);
public static void AgentCcaEviction(ILogger logger, int evictedCount)
=> s_agentCcaEviction(logger, evictedCount, null);
}
}
}
Loading