UNPKG

226 BTypeScriptView Raw
1export declare class Logger {
2 file: string;
3 protected flushing: Promise<void>;
4 protected buffer: string[];
5 constructor(file: string);
6 log(msg: string): void;
7 flush(waitForMs?: number): Promise<void>;
8}