zeebe-node
Version:
The Node.js client library for the Zeebe Workflow Automation Engine.
21 lines (20 loc) • 764 B
TypeScript
import { ZBLoggerConfig } from './interfaces-1.0';
import { Loglevel } from './interfaces-published-contract';
export declare class ZBLogger {
_tag: 'ZBCLIENT' | 'ZBWORKER';
loglevel: Loglevel;
private colorFn;
private taskType?;
private id?;
private stdout;
private colorise;
private pollInterval?;
private namespace;
constructor({ loglevel, color, id, namespace, stdout, taskType, colorise, pollInterval, _tag, }: ZBLoggerConfig);
info(message: any, ...optionalParameters: any[]): void;
error(message: any, ...optionalParameters: any[]): void;
debug(message: any, ...optionalParameters: any[]): void;
log(message: any, ...optionalParameters: any[]): void;
private makeMessage;
private _colorise;
}