UNPKG

266 BTypeScriptView Raw
1export interface Logger {
2 log: LogFunction;
3 warn: LogFunction;
4 error: LogFunction;
5}
6declare type LogFunction = (...args: any[]) => void;
7export declare function getLogger(): Logger;
8export declare function setLogger(newLogger: Logger): void;
9export {};