1 | import { ILogger, Loggable } from '../logger';
|
2 | export declare class MockLogger implements ILogger {
|
3 | setLogLevel(logLevel: number): Promise<void>;
|
4 | getLogLevel(): Promise<number>;
|
5 | isEnabled(logLevel: number): Promise<boolean>;
|
6 | ifEnabled(logLevel: number): Promise<void>;
|
7 | log(logLevel: number, arg2: string | Loggable | Error, ...params: any[]): Promise<void>;
|
8 | isTrace(): Promise<boolean>;
|
9 | ifTrace(): Promise<void>;
|
10 | trace(arg: string | Loggable, ...params: any[]): Promise<void>;
|
11 | isDebug(): Promise<boolean>;
|
12 | ifDebug(): Promise<void>;
|
13 | debug(arg: string | Loggable, ...params: any[]): Promise<void>;
|
14 | isInfo(): Promise<boolean>;
|
15 | ifInfo(): Promise<void>;
|
16 | info(arg: string | Loggable, ...params: any[]): Promise<void>;
|
17 | isWarn(): Promise<boolean>;
|
18 | ifWarn(): Promise<void>;
|
19 | warn(arg: string | Loggable, ...params: any[]): Promise<void>;
|
20 | isError(): Promise<boolean>;
|
21 | ifError(): Promise<void>;
|
22 | error(arg: string | Loggable | Error, ...params: any[]): Promise<void>;
|
23 | isFatal(): Promise<boolean>;
|
24 | ifFatal(): Promise<void>;
|
25 | fatal(arg: string | Loggable, ...params: any[]): Promise<void>;
|
26 | child(obj: Object): ILogger;
|
27 | }
|
28 |
|
\ | No newline at end of file |