UNPKG

247 BTypeScriptView Raw
1export interface Logger {
2 debug: (...data: any[]) => void;
3 info: (...data: any[]) => void;
4 warn: (...data: any[]) => void;
5 error: (...data: any[]) => void;
6}
7export declare const createLogger: (logger?: Partial<Logger>) => Logger;