Skip to main content

Class: NullLogger

A logger that does nothing.

Implements

Properties

debugEnabled

readonly debugEnabled: boolean = false

Whether debug logging is enabled.

Implementation of

Logger . debugEnabled

Source

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


infoEnabled

readonly infoEnabled: boolean = false

Whether info logging is enabled.

Implementation of

Logger . infoEnabled

Source

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


INSTANCE

static readonly INSTANCE: NullLogger

Source

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

Methods

debug()

debug(_: any): void

Logs the given message at the debug level.

Parameters

ParameterTypeDescription
_anyThe message to be logged.

Returns

void

Implementation of

Logger . debug

Source

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


info()

info(_: any): void

Logs the given message at the info level.

Parameters

ParameterTypeDescription
_anyThe message to be logged.

Returns

void

Implementation of

Logger . info

Source

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


sql()

sql(_: string): void

Logs the given SQL query.

Parameters

ParameterTypeDescription
_stringThe SQL query to be logged.

Returns

void

Implementation of

Logger . sql

Source

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