UNPKG

644 BTypeScriptView Raw
1export declare enum Level {
2 WARN = -1,
3 QUIET = 0,
4 INFO = 1,
5 VERBOSE = 2,
6 SILLY = 3
7}
8export declare const LEVEL_INFO: number;
9export declare const LEVEL_VERBOSE: number;
10export declare const LEVEL_SILLY: number;
11/** The minimal logging level for messages to be emitted. */
12export declare let level: Level;
13export declare function configure({ level: newLevel }: {
14 level: Level;
15}): void;
16export declare function warn(fmt: string, ...args: any[]): void;
17export declare function info(fmt: string, ...args: any[]): void;
18export declare function debug(fmt: string, ...args: any[]): void;
19//# sourceMappingURL=logging.d.ts.map
\No newline at end of file