log-vault
Version:
A generator of Winston logger instance with pre-defined configurable transports and formats and extra functionality.
13 lines • 546 B
TypeScript
import { Worker } from "bullmq";
import { EventEmitter } from "node:events";
import { NotificationChannel } from "./channels/NotificationChannel";
import { NotificatorConstructorOptions } from "../types";
export declare class Notificator extends EventEmitter {
protected worker: Worker;
protected channels: NotificationChannel[];
constructor(opts?: NotificatorConstructorOptions);
run(): Notificator;
stop(): Promise<Notificator>;
add(channel: NotificationChannel): Notificator;
}
//# sourceMappingURL=Notificator.d.ts.map