LoggerOptions: {
    correlationId?: string;
    logLevel?: LogLevel;
    loggerCallback?: ILoggerCallback;
    piiLoggingEnabled?: boolean;
}

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 declaration

  • Optional correlationId?: string
  • Optional logLevel?: LogLevel
  • Optional loggerCallback?: ILoggerCallback
  • Optional piiLoggingEnabled?: boolean

Generated using TypeDoc