1 | export declare const CONSOLE_LEVELS: readonly ["debug", "info", "warn", "error", "log", "assert", "trace"];
|
2 | declare type LoggerMethod = (...args: unknown[]) => void;
|
3 | declare type LoggerConsoleMethods = Record<typeof CONSOLE_LEVELS[number], LoggerMethod>;
|
4 |
|
5 | interface Logger extends LoggerConsoleMethods {
|
6 | disable(): void;
|
7 | enable(): void;
|
8 | }
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare function consoleSandbox<T>(callback: () => T): T;
|
16 | declare let logger: Logger;
|
17 | export { logger };
|
18 |
|
\ | No newline at end of file |