Skip to main content

Variable: default

default: object

Defined in: src/common/web/core/logging/Logging.ts:66

Type declaration

debug()

debug: (msg, scope, params) => void

Logs a debugging message.

Parameters

msg

string

The text to log.

scope

string = ""

The scope of the entry.

params

Record<string, any> = {}

Any additional parameters.

Returns

void

error()

error: (msg, scope, params) => void

Logs an error message.

Parameters

msg

string

The text to log.

scope

string = ""

The scope of the entry.

params

Record<string, any> = {}

Any additional parameters.

Returns

void

getDefaultLogger()

getDefaultLogger: () => Logger

Retrieves the global default logger.

Returns

Logger

info()

info: (msg, scope, params) => void

Logs an info message.

Parameters

msg

string

The text to log.

scope

string = ""

The scope of the entry.

params

Record<string, any> = {}

Any additional parameters.

Returns

void

setLevel()

setLevel: (level) => void

Sets the default log level.

Parameters

level

LogLevel

The maximum level for log entries to be displayed.

Returns

void

warning()

warning: (msg, scope, params) => void

Logs a warning message.

Parameters

msg

string

The text to log.

scope

string = ""

The scope of the entry.

params

Record<string, any> = {}

Any additional parameters.

Returns

void