@iobroker/js-controller-common-db
Version:
The Library contains the common utils for the ioBroker controller which can be used by db classes too, as they do not rely on the db (circular dependencies).
14 lines • 481 B
TypeScript
import winston from 'winston';
export type LogInfo = Record<string | symbol, any>;
export interface UserOptions {
level: string;
maxDays: number;
noStdout: boolean;
localTime?: string;
colorize?: boolean;
json?: boolean;
prefix?: string;
transport: Record<string, any>;
}
export declare function logger(level: string | UserOptions, files?: string[] | string, noStdout?: boolean, prefix?: string): winston.Logger;
//# sourceMappingURL=logger.d.ts.map