BaseAbstractApplicationBuilder<T>.WithDebugLoggingCallback Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the Debug logging callback to a default debug method which displays the level of the message and the message itself. For details see https://aka.ms/msal-net-logging
public T WithDebugLoggingCallback (Microsoft.Identity.Client.LogLevel logLevel = Microsoft.Identity.Client.LogLevel.Info, bool enablePiiLogging = false, bool withDefaultPlatformLoggingEnabled = false);
member this.WithDebugLoggingCallback : Microsoft.Identity.Client.LogLevel * bool * bool -> 'T
Public Function WithDebugLoggingCallback (Optional logLevel As LogLevel = Microsoft.Identity.Client.LogLevel.Info, Optional enablePiiLogging As Boolean = false, Optional withDefaultPlatformLoggingEnabled As Boolean = false) As T
Parameters
- logLevel
- LogLevel
Desired level of logging. The default is LogLevel.Info
- enablePiiLogging
- Boolean
Boolean used to enable/disable logging of
Personally Identifiable Information (PII).
PII logs are never written to default outputs like Console, Logcat or NSLog
Default is set to false
, which ensures that your application is compliant with GDPR.
You can set it to true
for advanced debugging requiring PII
- withDefaultPlatformLoggingEnabled
- Boolean
Flag to enable/disable logging to platform defaults.
In Desktop/UWP, Event Tracing is used. In iOS, NSLog is used.
In android, logcat is used. The default value is false
Returns
The builder to chain the .With methods
Exceptions
Applies to
See also
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示