Edit

Share via


LoggerOptions type

Use this to configure the logging that MSAL does, by configuring logger options in the Configuration object

  • loggerCallback - Callback for logger
  • piiLoggingEnabled - Sets whether pii logging is enabled
  • logLevel - Sets the level at which logging happens
  • correlationId - Sets the correlationId printed by the logger
type LoggerOptions = {
  correlationId?: string
  logLevel?: LogLevel
  loggerCallback?: ILoggerCallback
  piiLoggingEnabled?: boolean
}