1 | declare module 'glogg' {
|
2 | interface GloggLogger {
|
3 | debug(msg: string): void;
|
4 | info(msg: string): void;
|
5 | warn(msg: string): void;
|
6 | error(msg: string): void;
|
7 | on(event: string | symbol, listener: (...args: any[]) => void): void;
|
8 | once(actionName: string, action: (msg: string) => void): void;
|
9 | removeAllListeners(): void;
|
10 | }
|
11 | function getLogger(namespace: string): GloggLogger;
|
12 | export = getLogger;
|
13 | }
|