JS API Reference

Interface: Logger

utils/logger/logger.Logger

Table of contents

Methods

Methods

child

child(namespace): Logger

Parameters

NameType
namespacestring

Returns

Logger

Defined in

src/utils/logger/logger.ts:2


debug

debug(msg): void

Parameters

NameType
msgstring

Returns

void

Defined in

src/utils/logger/logger.ts:3

debug(msg, ctx): void

Parameters

NameType
msgstring
ctxError | Record<string, unknown>

Returns

void

Defined in

src/utils/logger/logger.ts:4


info

info(msg): void

Parameters

NameType
msgstring

Returns

void

Defined in

src/utils/logger/logger.ts:5

info(msg, ctx): void

Parameters

NameType
msgstring
ctxError | Record<string, unknown>

Returns

void

Defined in

src/utils/logger/logger.ts:6


warn

warn(msg): void

Parameters

NameType
msgstring

Returns

void

Defined in

src/utils/logger/logger.ts:7

warn(msg, ctx): void

Parameters

NameType
msgstring
ctxError | Record<string, unknown>

Returns

void

Defined in

src/utils/logger/logger.ts:8


error

error(msg): void

Parameters

NameType
msgstring

Returns

void

Defined in

src/utils/logger/logger.ts:9

error(msg, ctx): void

Parameters

NameType
msgstring
ctxError | Record<string, unknown>

Returns

void

Defined in

src/utils/logger/logger.ts:10