-
Notifications
You must be signed in to change notification settings - Fork 2
/
common.d.ts
33 lines (33 loc) · 925 Bytes
/
common.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
export declare class Options {
static debugTokens: boolean;
static debugExpression: boolean;
static debugExecution: boolean;
static debugTree: boolean;
static delegate: any;
}
export declare function debug(type: any, title: any, obj?: any): void;
export declare class Logger {
debugMsgs: any[];
toConsole: boolean;
toFile: any;
callback: any;
constructor({ toConsole, toFile, callback }: {
toConsole?: boolean;
toFile?: string;
callback?: any;
});
setOptions({ toConsole, toFile, callback }: {
toConsole: any;
toFile: any;
callback: any;
}): void;
msg(message: any, type?: string): void;
clear(): void;
get(): any[];
debug(message: any): void;
warn(message: any): void;
log(message: any): void;
error(err: any): void;
save(filename: any): Promise<void>;
}
export declare const logger: Logger;