@dazejs/framework
Version:
Daze.js - A powerful web framework for Node.js
13 lines (12 loc) • 521 B
TypeScript
import Transport, { TransportStreamOptions } from 'winston-transport';
import { Application } from '../../foundation/application';
import { Logger } from './logger';
export declare class ClusterTransport extends Transport {
app: Application;
channelName: string;
loggerName: string;
static instances: Logger[];
constructor(loggerName: string, channelName: string, app: Application, opts?: TransportStreamOptions);
static bindListener(instance: Logger): void;
log(info: any, next: any): any;
}