Microsoft.IdentityModel.Logging
Event source based logger to log different events.
Static logger that is exposed externally. An external application or framework can hook up a listener to this event source to log data in a custom way.
Flag which indicates whether or not PII is shown in logs. False by default.
String that is used in place of any arguments to log messages if the 'ShowPII' flag is set to false.
Indicates whether or the log message header (contains library version, date/time, and PII debugging information) has been written.
The log message that indicates the current library version.
The log message that indicates the date.
The log message that is shown when PII is off.
The log message that is shown when PII is off.
Writes an event log by using the provided string argument and current UTC time.
No level filtering is done on the event.
The log message.
No level filtering.
Writes an event log by using the provided string argument, current UTC time and the provided arguments list.
The log message.
An object array that contains zero or more objects to format.
Writes a verbose event log by using the provided string argument and current UTC time.
The log message.
Writes a verbose event log by using the provided string argument, current UTC time and the provided arguments list.
The log message.
An object array that contains zero or more objects to format.
Writes an information event log by using the provided string argument and current UTC time.
The log message.
Writes an information event log by using the provided string argument, current UTC time and the provided arguments list.
The log message.
An object array that contains zero or more objects to format.
Writes a warning event log by using the provided string argument and current UTC time.
The log message.
Writes a warning event log by using the provided string argument, current UTC time and the provided arguments list.
The log message.
An object array that contains zero or more objects to format.
Writes an error event log by using the provided string argument and current UTC time.
The log message.
Writes an error event log by using the provided string argument, current UTC time and the provided arguments list.
The log message.
An object array that contains zero or more objects to format.
Writes a critical event log by using the provided string argument and current UTC time.
The log message.
Writes a critical event log by using the provided string argument, current UTC time and the provided arguments list.
The log message.
An object array that contains zero or more objects to format.
Writes an exception log by using the provided event identifer, exception argument, string argument and current UTC time.
The log message.
Writes an exception log by using the provided event identifer, exception argument, string argument, arguments list and current UTC time.
The log message.
An object array that contains zero or more objects to format.
Minimum log level to log events. Default is Warning.
Helper class for logging.
Logs an exception using the event source logger and returns new exception.
argument that is null or empty.
EventLevel is set to Error.
Logs an exception using the event source logger and returns new typed exception.
message to log.
EventLevel is set to Error.
Logs an argument exception using the event source logger and returns new typed exception.
Identifies the argument whose value generated the ArgumentException.
message to log.
EventLevel is set to Error.
Logs an exception using the event source logger and returns new typed exception.
Format string of the log message.
An object array that contains zero or more objects to format.
EventLevel is set to Error.
Logs an argument exception using the event source logger and returns new typed exception.
Identifies the argument whose value generated the ArgumentException.
Format string of the log message.
An object array that contains zero or more objects to format.
EventLevel is set to Error.
Logs an exception using the event source logger and returns new typed exception.
the inner to be added to the outer exception.
message to log.
EventLevel is set to Error.
Logs an argument exception using the event source logger and returns new typed exception.
Identifies the argument whose value generated the ArgumentException.
the inner to be added to the outer exception.
message to log.
EventLevel is set to Error.
Logs an exception using the event source logger and returns new typed exception.
the inner to be added to the outer exception.
Format string of the log message.
An object array that contains zero or more objects to format.
EventLevel is set to Error.
Logs an argument exception using the event source logger and returns new typed exception.
Identifies the argument whose value generated the ArgumentException.
the inner to be added to the outer exception.
Format string of the log message.
An object array that contains zero or more objects to format.
EventLevel is set to Error.
Logs an exception using the event source logger and returns new typed exception.
Identifies the level of an event to be logged.
message to log.
Logs an argument exception using the event source logger and returns new typed exception.
Identifies the level of an event to be logged.
Identifies the argument whose value generated the ArgumentException.
message to log.
Logs an exception using the event source logger and returns new typed exception.
Identifies the level of an event to be logged.
Format string of the log message.
An object array that contains zero or more objects to format.
Logs an argument exception using the event source logger and returns new typed exception.
Identifies the level of an event to be logged.
Identifies the argument whose value generated the ArgumentException.
Format string of the log message.
An object array that contains zero or more objects to format.
Logs an exception using the event source logger and returns new typed exception.
Identifies the level of an event to be logged.
the inner to be added to the outer exception.
message to log.
Logs an argument exception using the event source logger and returns new typed exception.
Identifies the level of an event to be logged.
Identifies the argument whose value generated the ArgumentException.
the inner to be added to the outer exception.
message to log.
Logs an exception using the event source logger and returns new typed exception.
Identifies the level of an event to be logged.
the inner to be added to the outer exception.
Format string of the log message.
An object array that contains zero or more objects to format.
Logs an argument exception using the event source logger and returns new typed exception.
Identifies the level of an event to be logged.
Identifies the argument whose value generated the ArgumentException.
the inner to be added to the outer exception.
Format string of the log message.
An object array that contains zero or more objects to format.
Logs an exception using the event source logger.
The exception to log.
Logs an exception using the event source logger.
Identifies the level of an event to be logged.
The exception to log.
Logs an information event.
The log message.
An object array that contains zero or more objects to format.
Logs a verbose event.
The log message.
An object array that contains zero or more objects to format.
Logs a warning event.
The log message.
An object array that contains zero or more objects to format.
Logs an exception using the event source logger and returns new typed exception.
Identifies the level of an event to be logged.
Identifies the argument whose value generated the ArgumentException.
the inner to be added to the outer exception.
Format string of the log message.
An object array that contains zero or more objects to format.
Formats the string using InvariantCulture
Format string.
Format arguments.
Formatted string.
Log messages and codes for Microsoft.IdentityModel.Logging
Event listener that writes logs to a file or a fileStream provided by user.
Name of the default log file, excluding its path.
Initializes a new instance of that writes logs to text file.
Initializes a new instance of that writes logs to text file.
location of the file where log messages will be written.
Initializes a new instance of that writes logs to text file.
StreamWriter where logs will be written.
Called whenever an event has been written by an event source for which the event listener has enabled events.
Releases all resources used by the current instance of the class.