Skip to main content

Interface: Logger

Logger interface for logging information, debugging messages, and SQL queries.

Properties

debugEnabled

debugEnabled: boolean

Whether debug logging is enabled.

Defined in

packages/verse-core/src/utils/logging.ts:50


infoEnabled

infoEnabled: boolean

Whether info logging is enabled.

Defined in

packages/verse-core/src/utils/logging.ts:45

Methods

debug()

debug(message: any): void

Logs the given message at the debug level.

Parameters

ParameterTypeDescription
messageanyThe message to be logged.

Returns

void

Defined in

packages/verse-core/src/utils/logging.ts:33


info()

info(message: any): void

Logs the given message at the info level.

Parameters

ParameterTypeDescription
messageanyThe message to be logged.

Returns

void

Defined in

packages/verse-core/src/utils/logging.ts:19


sql()

sql(sql: string): void

Logs the given SQL query.

Parameters

ParameterTypeDescription
sqlstringThe SQL query to be logged.

Returns

void

Defined in

packages/verse-core/src/utils/logging.ts:40


warn()

warn(message: any): void

Logs the given message at the warn level.

Parameters

ParameterTypeDescription
messageanyThe message to be logged.

Returns

void

Defined in

packages/verse-core/src/utils/logging.ts:26