@wiajs/log 4.3.15 → 4.3.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,24 @@
1
+ export default class Log {
2
+ constructor(opts: any);
3
+ dgs: {
4
+ debug: debug.Debugger;
5
+ info: debug.Debugger;
6
+ err: debug.Debugger;
7
+ warn: debug.Debugger;
8
+ };
9
+ debug(...args: any[]): void;
10
+ error(...args: any[]): void;
11
+ err(...args: any[]): void;
12
+ warn(...args: any[]): void;
13
+ info(...args: any[]): void;
14
+ }
15
+ import debug from 'debug';
16
+ export function name(file: string): string;
17
+ export function log(...args: any[]): {
18
+ (...args2: any): void;
19
+ debug: (...args: any[]) => void;
20
+ info: (...args: any[]) => void;
21
+ warn: (...args: any[]) => void;
22
+ error: (...args: any[]) => void;
23
+ err: (...args: any[]) => void;
24
+ };