@kismet.ts/shared / Exports / LogLevel

Interface: LogLevel

Table of contents

Properties

Properties

default

Optional default: boolean

Defined in

debug/logger.ts:24open in new window


format

Optional format: (message: string) => string

Type declaration

▸ (message): string

Parameters
NameType
messagestring
Returns

string

Defined in

debug/logger.ts:27open in new window


handler

Optional handler: (message: string) => Promise<void | LogHandlerReturnType>

Type declaration

▸ (message): Promise<void | LogHandlerReturnType>

Parameters
NameType
messagestring
Returns

Promise<void | LogHandlerReturnType>

Defined in

debug/logger.ts:28open in new window


prefix

Optional prefix: string

Defined in

debug/logger.ts:25open in new window


stream

Optional stream: LogHandlerStream

Defined in

debug/logger.ts:26open in new window


type

type: string

Defined in

debug/logger.ts:23open in new window