LoggerOptions
Logger options.
Props
callbackLogLevel
callbackLogLevel:
Log level for the callback function. The default value is Info.
enableConsoleLogger
enableConsoleLogger: boolean
Whether logs should be printed to the browser console. The default value is true.
onLogCallback
onLogCallback: null | LogCallbackFunction
Callback function to receive the log messages.
prefix
prefix: null | string
Log message prefix. Helps to distinguish Web SDK logs from other logs in the console. The default value is 'WEBSDK'.
withTime
withTime: boolean
Whether a timestamp is included to a log message. The default value is true.