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