Table of Contents

Enum LogLevel

Namespace
Microsoft.Identity.Client
Assembly
Microsoft.Identity.Client.dll

Represents log level in MSAL. For details, see MSAL logging.

public enum LogLevel

Fields

Always = -1

Includes logs of important health metrics to help with diagnostics of MSAL operations.

Error = 0

Includes logs when something has gone wrong and an error was generated. Used for debugging and identifying problems.

Info = 2

Default. Includes logs of general events intended for informational purposes, not necessarily intended for debugging.

Verbose = 3

Includes logs of the full details of library behavior.

Warning = 1

Includes logs in scenarios when there hasn't necessarily been an error or failure, but are intended for diagnostics and pinpointing problems.