UNPKG

458 BTypeScriptView Raw
1import { ILoggerOptions } from "logzio-nodejs";
2import Transport from "winston-transport";
3
4declare namespace LogzioWinstonTransport {
5 interface IWinstonLogzioLoggerOptions extends ILoggerOptions {
6 name?: string;
7 level?: string;
8 }
9}
10
11declare class LogzioWinstonTransport extends Transport {
12 constructor(options: LogzioWinstonTransport.IWinstonLogzioLoggerOptions);
13
14 static safeToString(json: any): string;
15}
16
17export = LogzioWinstonTransport;