log-vault
Version:
A generator of Winston logger instance with pre-defined configurable transports and formats and extra functionality.
16 lines • 680 B
TypeScript
import { EventEmitter } from "node:stream";
import { InspectOptions } from "node:util";
import { NotificationChannelProcessOpts, NotificationChannelOptions, MatchPattern } from "../../types";
export declare class NotificationChannel extends EventEmitter {
matchPatterns: MatchPattern[];
private queue?;
private worker?;
private processor;
private jobOptions?;
protected inspectOptions?: InspectOptions;
constructor(opts?: NotificationChannelOptions);
protected process(opts: NotificationChannelProcessOpts): NotificationChannel;
addToQueue(log: any): Promise<void>;
stop(): Promise<void>;
}
//# sourceMappingURL=NotificationChannel.d.ts.map