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

Defined in

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


infoEnabled

readonly infoEnabled: boolean = false

Whether info logging is enabled.

Implementation of

Logger.infoEnabled

Defined in

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


INSTANCE

readonly static INSTANCE: NullLogger

Defined in

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

Methods

debug()

debug(_: any): void

Logs the given message at the debug level.

Parameters

ParameterType
_any

Returns

void

Implementation of

Logger.debug

Defined in

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


info()

info(_: any): void

Logs the given message at the info level.

Parameters

ParameterType
_any

Returns

void

Implementation of

Logger.info

Defined in

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


sql()

sql(_: string): void

Logs the given SQL query.

Parameters

ParameterType
_string

Returns

void

Implementation of

Logger.sql

Defined in

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


warn()

warn(_: any): void

Logs the given message at the warn level.

Parameters

ParameterType
_any

Returns

void

Implementation of

Logger.warn

Defined in

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