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#
clear#
▸ clear(): void
Returns#
void
Defined in#
get#
▸ get(): any
[]
Returns#
any
[]
Defined in#
debug#
▸ debug(...message
): void
Parameters#
Name | Type |
---|---|
...message |
any |
Returns#
void
Defined in#
warn#
▸ warn(...message
): void
Parameters#
Name | Type |
---|---|
...message |
any |
Returns#
void
Defined in#
log#
▸ log(...message
): void
Parameters#
Name | Type |
---|---|
...message |
any |
Returns#
void
Defined in#
error#
▸ error(err
): void
Parameters#
Name | Type |
---|---|
err |
any |
Returns#
void
Defined in#
reportError#
▸ reportError(err
): void
Parameters#
Name | Type |
---|---|
err |
any |
Returns#
void
Defined in#
save#
▸ save(filename
): Promise
\<void
>
Parameters#
Name | Type |
---|---|
filename |
any |
Returns#
Promise
\<void
>