1 | export interface IDebug {
|
2 | (namespace: string): IDebugger;
|
3 | coerce: (val: any) => any;
|
4 | disable: () => string;
|
5 | enable: (namespaces: string) => void;
|
6 | enabled: (namespaces: string) => boolean;
|
7 | log: (...args: any[]) => any;
|
8 | names: RegExp[];
|
9 | skips: RegExp[];
|
10 | formatters: DebugFormatters;
|
11 | }
|
12 | export interface DebugFormatters {
|
13 | [formatter: string]: (v: any) => string;
|
14 | }
|
15 | export interface IDebugger {
|
16 | (...args: any[]): void;
|
17 | color: string;
|
18 | enabled: boolean;
|
19 | log: (...args: any[]) => any;
|
20 | namespace: string;
|
21 | destroy: () => boolean;
|
22 | }
|
23 | export declare const Debug: IDebug;
|