1 | export interface IContext {
|
2 | warn(message: string | (() => string)): void;
|
3 | error(message: string | (() => string)): void;
|
4 | info(message: string | (() => string)): void;
|
5 | debug(message: string | (() => string)): void;
|
6 | }
|
7 | export declare enum VerbosityLevel {
|
8 | Error = 0,
|
9 | Warning = 1,
|
10 | Info = 2,
|
11 | Debug = 3
|
12 | }
|
13 | export declare class ConsoleContext implements IContext {
|
14 | private verbosity;
|
15 | private prefix;
|
16 | constructor(verbosity: VerbosityLevel, prefix?: string);
|
17 | warn(message: string | (() => string)): void;
|
18 | error(message: string | (() => string)): void;
|
19 | info(message: string | (() => string)): void;
|
20 | debug(message: string | (() => string)): void;
|
21 | }
|
22 | //# sourceMappingURL=context.d.ts.map |
\ | No newline at end of file |