@camunda8/sdk
Version:
[](https://www.npmjs.com/package/@camunda8/sdk)
17 lines (16 loc) • 803 B
TypeScript
import winston from 'winston';
import { Camunda8ClientConfiguration } from '../../lib';
export type Logger = {
info: (message: string | undefined, ...meta: any[]) => void;
warn: (message: string | undefined, ...meta: any[]) => void;
error: (message: string | undefined, ...meta: any[]) => void;
debug: (message: string | undefined, ...meta: any[]) => void;
trace: (message: string | undefined, ...meta: any[]) => void;
};
export declare function getLogger(config?: Camunda8ClientConfiguration): Logger;
export declare function createLogger(options?: winston.LoggerOptions): winston.Logger & {
trace: (message: string | undefined, ...meta: any[]) => void;
};
export declare const NullLogger: winston.Logger & {
trace: (message: string | undefined, ...meta: any[]) => void;
};