Class: Logger

Constructors

new Logger()

new Logger(logLevels?: string[], callback?: (input: string) => any): Logger

Parameters

ParameterType
logLevels?string[]
callback?(input: string) => any

Returns

Logger

Defined in

src/utils/debug.ts:25

Properties

callback

callback: undefined | (input: string) => any

Defined in

src/utils/debug.ts:23


events

events: EventEmitter<DefaultEventMap>

Defined in

src/utils/debug.ts:22


logLevels

logLevels: string[]

Defined in

src/utils/debug.ts:21


logStream

logStream: string[]

Defined in

src/utils/debug.ts:20

Methods

info()

info(input: string): void

Parameters

ParameterType
inputstring

Returns

void

Defined in

src/utils/debug.ts:43


log()

log(input: string): void

Parameters

ParameterType
inputstring

Returns

void

Defined in

src/utils/debug.ts:36


streamHandler()

streamHandler(): void

Returns

void

Defined in

src/utils/debug.ts:47