Skip to content

PURISTA API / Modules / @purista/core / Logger

Class: Logger

@purista/core.Logger

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

new Logger(): Logger

Returns

Logger

Methods

debug

debug(...args): void

Parameters

NameType
...argsLogFnParamType

Returns

void

Defined in

core/types/Logger.ts:27


error

error(...args): void

Parameters

NameType
...argsLogFnParamType

Returns

void

Defined in

core/types/Logger.ts:25


fatal

fatal(...args): void

Parameters

NameType
...argsLogFnParamType

Returns

void

Defined in

core/types/Logger.ts:24


getChildLogger

getChildLogger(options): Logger

Parameters

NameType
optionsLoggerOptions

Returns

Logger

Defined in

core/types/Logger.ts:29


info

info(...args): void

Parameters

NameType
...argsLogFnParamType

Returns

void

Defined in

core/types/Logger.ts:23


trace

trace(...args): void

Parameters

NameType
...argsLogFnParamType

Returns

void

Defined in

core/types/Logger.ts:28


warn

warn(...args): void

Parameters

NameType
...argsLogFnParamType

Returns

void

Defined in

core/types/Logger.ts:26