Microsoft.IdentityModel.Abstractions Defines Event Log Levels. No level filtering is done on this log level. Log messages of all levels will be logged. Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires immediate attention. Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a failure in the current activity, not an application-wide failure. Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop. Logs that track the general flow of the application. These logs should have long-term value. Logs that are used for interactive investigation during development. These logs should primarily contain information useful for debugging and have no long-term value. Interface that needs to be implemented by classes providing logging in Microsoft identity libraries. Checks to see if logging is enabled at given . Log level of a message. Writes a log entry. Defines a structured message to be logged at the provided . Interface for Telemetry tracking. Gets or sets the application or client ID that telemetry is being sent for. Perform any necessary bootstrapping for the telemetry client. The expectation is that this should only be called once for the lifetime of the object however the implementation should be idempotent. Checks to see if telemetry is enabled all up. Returns if telemetry should be sent; otherwise. This check should be used to gate any resource intensive operations to generate telemetry as well. Checks to see if telemetry is enabled for the named event. Name of the event to check. Returns if telemetry should be sent for ; otherwise. This check should be used to gate any resource intensive operations to generate telemetry as well. Tracks an instance of a named event. Details of the event to track. Tracks an instance of a named event. Name of the event to track. Should be unique per scenario. Key value pair of strings to long with the event. Key value pair of longs to long with the event. Key value pair of bools to long with the event. Key value pair of DateTimes to long with the event. Key value pair of doubles to long with the event. Key value pair of Guids to long with the event. Defines the structure of a log entry. Defines the . Message to be logged. A unique identifier for a request that can help with diagnostics across components. Also referred to as ActivityId in Microsoft.IdentityModel.Tokens.CallContext. A minimalistic implementation that is disabled by default and doesn't log. Default instance of . The default implementation of the interface which swallows all telemetry signals. Singleton instance of . Initializes an instance of . Private constructor to prevent the default constructor being exposed. Common class containing observability constants to be used as well known metric keys. String used for the name of the property indicating if the call was successful. String used for the name of the property indicating the call in Duration (ms). String used for the name of the property indicating the call's Activity Id/Correlation Id. String used for the name of the property indicating the caller's ClientId. Details of the telemetry event. This implementation is not meant to be thread-safe. This implementation would either need to be overridden or usage should not be concurrently operated on. The underlying properties making up the . Name of the telemetry event, should be unique between events. Properties which describe the event. Sets a property on the event details. Property key. Property value. 'key' is null. Sets a property on the event details. Property key. Property value. 'key' is null. Sets a property on the event details. Property key. Property value. 'key' is null. Sets a property on the event details. Property key. Property value. 'key' is null. Sets a property on the event details. Property key. Property value. 'key' is null. Sets a property on the event details. Property key. Property value. 'key' is null.