Microsoft.Identity.Client.Internal.Logger.LoggerHelper
class LoggerHelper
public LoggerHelper()
public static ILoggerAdapter CreateLogger(Guid correlationId, ApplicationConfiguration config, bool isReducedLoggingEnabled = false)
public static string FormatLogMessage(string message, bool piiEnabled, string correlationId, string clientInformation)
public static string GetMessageToLog(string messageWithPii, string messageScrubbed, bool piiLoggingEnabled)
public static DurationLogHelper LogBlockDuration(ILoggerAdapter logger, string measuredBlockName, LogLevel logLevel = 3)
public static DurationLogHelper LogMethodDuration(ILoggerAdapter logger, LogLevel logLevel = 3, string methodName = null, string filePath = null)