Skip to content

ilogger

ralphhanna edited this page Dec 18, 2023 · 3 revisions

bpmn-server / ILogger

Interface: ILogger

A logging tool to take various message for monitoring and debugging

it can also keep the message in memory till saved later through saveToFile msgs can be cleared by the clean method

Implemented by

Table of contents

Methods

Methods

clear

clear(): void

Returns

void

Defined in

interfaces/common.ts:54


debug

debug(...message): void

Parameters

Name Type
...message any

Returns

void

Defined in

interfaces/common.ts:56


error

error(err): void

Parameters

Name Type
err any

Returns

void

Defined in

interfaces/common.ts:59


get

get(): any[]

Returns

any[]

Defined in

interfaces/common.ts:55


log

log(...message): void

Parameters

Name Type
...message any

Returns

void

Defined in

interfaces/common.ts:58


reportError

reportError(err): void

Parameters

Name Type
err any

Returns

void

Defined in

interfaces/common.ts:60


save

save(filename): Promise<void>

Parameters

Name Type
filename any

Returns

Promise<void>

Defined in

interfaces/common.ts:61


setOptions

setOptions(«destructured»): void

Parameters

Name Type
«destructured» Object
› callback any
› toConsole any
› toFile any

Returns

void

Defined in

interfaces/common.ts:49


warn

warn(...message): void

Parameters

Name Type
...message any

Returns

void

Defined in

interfaces/common.ts:57

Clone this wiki locally