<PackageReference Include="Microsoft.Identity.Client" Version="4.83.1" />

Microsoft.Identity.Client.Internal.Logger.LoggerHelper

class LoggerHelper
namespace Microsoft.Identity.Client.Internal.Logger { internal class LoggerHelper { public static ILoggerAdapter NullLogger { get; } public static string GetClientInfo(string clientName, string clientVersion); public static ILoggerAdapter CreateLogger(Guid correlationId, ApplicationConfiguration config); public static string FormatLogMessage(string message, bool piiEnabled, string correlationId, string clientInformation); public static DurationLogHelper LogBlockDuration(ILoggerAdapter logger, string measuredBlockName, LogLevel logLevel = LogLevel.Verbose); public static DurationLogHelper LogMethodDuration(ILoggerAdapter logger, LogLevel logLevel = LogLevel.Verbose, string methodName = null, string filePath = null); public static EventLogLevel GetEventLogLevel(LogLevel logLevel); public static string GetMessageToLog(string messageWithPii, string messageScrubbed, bool piiLoggingEnabled); public LoggerHelper(); } }