Microsoft.Identity.Client.Internal.Logger.IdentityLoggerAdapter class IdentityLoggerAdapter : ILoggerAdapter Documentation Code public string ClientName { get; } public string ClientVersion { get; } public IIdentityLogger IdentityLogger { get; } public bool IsDefaultPlatformLoggingEnabled { get; } public bool PiiLoggingEnabled { get; } public static ILoggerAdapter Create(Guid correlationId, ApplicationConfiguration config) public bool IsLoggingEnabled(LogLevel logLevel) public void Log(LogLevel logLevel, string messageWithPii, string messageScrubbed) public DurationLogHelper LogBlockDuration(string measuredBlockName, LogLevel logLevel = 3) public DurationLogHelper LogMethodDuration(LogLevel logLevel = 3, string methodName = null, string filePath = null)