Debug Helper

Implements

Properties

ignoreDbOpenError

static ignoreDbOpenError: boolean = false

Methods

error()

error(message, props?): void

Parameters

message: string

props?: unknown

Returns

void

Implementation of

IDebugHelper.error


isEnabled()

isEnabled(): boolean

Returns

boolean

Implementation of

IDebugHelper.isEnabled


log()

log(message, props?): void

Parameters

message: string

props?: unknown

Returns

void

Implementation of

IDebugHelper.log


setEnabled()

setEnabled(enabled, useToStringConsoleLog?): void

Parameters

enabled: boolean

useToStringConsoleLog?: boolean

Returns

void

Implementation of

IDebugHelper.setEnabled


setMinimumLevel()

setMinimumLevel(level): void

Parameters

level: SdkLogEventLevel

Returns

void

Implementation of

IDebugHelper.setMinimumLevel


toggleDevMode()

toggleDevMode(forceToggle?): boolean

Parameters

forceToggle?: boolean

Returns

boolean

Implementation of

IDebugHelper.toggleDevMode


verbose()

verbose(message, props?): void

Parameters

message: string

props?: unknown

Returns

void

Implementation of

IDebugHelper.verbose


warn()

warn(message, props?): void

Parameters

message: string

props?: unknown

Returns

void

Implementation of

IDebugHelper.warn


getDatabase()

static getDatabase(): Promise<null | IDBDatabase>

Returns

Promise<null | IDBDatabase>