Skip to content

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#

setOptions#

setOptions(«destructured»): void

Parameters#

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

Returns#

void

Defined in#

interfaces/common.ts:57


clear#

clear(): void

Returns#

void

Defined in#

interfaces/common.ts:62


get#

get(): any[]

Returns#

any[]

Defined in#

interfaces/common.ts:63


debug#

debug(...message): void

Parameters#

Name Type
...message any

Returns#

void

Defined in#

interfaces/common.ts:64


warn#

warn(...message): void

Parameters#

Name Type
...message any

Returns#

void

Defined in#

interfaces/common.ts:65


log#

log(...message): void

Parameters#

Name Type
...message any

Returns#

void

Defined in#

interfaces/common.ts:66


error#

error(err): void

Parameters#

Name Type
err any

Returns#

void

Defined in#

interfaces/common.ts:67


reportError#

reportError(err): void

Parameters#

Name Type
err any

Returns#

void

Defined in#

interfaces/common.ts:68


save#

save(filename): Promise\<void>

Parameters#

Name Type
filename any

Returns#

Promise\<void>

Defined in#

interfaces/common.ts:69