LogLevel

LogLevel

Enum options to show or suppress Visual Embed SDK and ThoughtSpot application logs in the console output. This attribute doesn’t support suppressing browser warnings or errors.

Enumeration membersπŸ”—

DEBUGπŸ”—

DEBUG:= "DEBUG"

Log debug messages, warnings, information alerts, and errors in the console output.

Defined in : types.ts

Version : SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl

init({
  ... // other options,
 logLevel: LogLevel.DEBUG,
})

ERRORπŸ”—

ERROR:= "ERROR"

Log only errors in the console output.

Defined in : types.ts

Version : SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl

init({
  ... // other options,
 logLevel: LogLevel.ERROR,
})

INFOπŸ”—

INFO:= "INFO"

Log only the information alerts, warnings, and errors in the console output.

Defined in : types.ts

Version : SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl

init({
  ... // other options,
 logLevel: LogLevel.INFO,
})

SILENTπŸ”—

SILENT:= "SILENT"

No application or SDK-related logs will be logged in the console output.

Defined in : types.ts

Version : SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl

init({
  ... // other options,
 logLevel: LogLevel.SILENT,
})

TRACEπŸ”—

TRACE:= "TRACE"

All logs will be logged in the browser console.

Defined in : types.ts

Version : SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl

init({
  ... // other options,
 logLevel: LogLevel.TRACE,
})

WARNπŸ”—

WARN:= "WARN"

Log only warnings and errors in the console output.

Defined in : types.ts

Version : SDK: 1.26.7 | ThoughtSpot Cloud: 9.10.0.cl

init({
  ... // other options,
 logLevel: LogLevel.WARN,
})