1 | export const BOLD: symbol;
|
2 | export const UNBOLD: symbol;
|
3 | export const BLUE: symbol;
|
4 | export const GREY: symbol;
|
5 | export const GREEN: symbol;
|
6 | export const RED: symbol;
|
7 | export const PURPLE: symbol;
|
8 | export const ORANGE: symbol;
|
9 | export const UNCOLOR: symbol;
|
10 | export function print(...args: Array<string | Symbol | Object | number>): void;
|
11 | export function warn(...args: Array<string | Symbol | Object | number>): void;
|
12 | export function printError(err: Error): void;
|
13 | export function printImg(url: string, height: number): void;
|
14 | export function printImgBase64(base64: string, height: number): void;
|
15 | export function group(...args: Array<string | Symbol | Object | number>): void;
|
16 | export function groupCollapsed(...args: Array<string | Symbol | Object | number>): void;
|
17 | export function groupEnd(): void;
|
18 | export function printDom(createNode: () => Node): void;
|
19 | export function printCanvas(canvas: HTMLCanvasElement, height: number): void;
|
20 | export const vconsoles: Set<any>;
|
21 | export class VConsole {
|
22 | |
23 |
|
24 |
|
25 | constructor(dom: Element);
|
26 | dom: Element;
|
27 | /**
|
28 | * @type {Element}
|
29 | */
|
30 | ccontainer: Element;
|
31 | depth: number;
|
32 | |
33 |
|
34 |
|
35 |
|
36 | group(args: Array<string | Symbol | Object | number>, collapsed?: boolean): void;
|
37 | |
38 |
|
39 |
|
40 | groupCollapsed(args: Array<string | Symbol | Object | number>): void;
|
41 | groupEnd(): void;
|
42 | |
43 |
|
44 |
|
45 | print(args: Array<string | Symbol | Object | number>): void;
|
46 | |
47 |
|
48 |
|
49 | printError(err: Error): void;
|
50 | |
51 |
|
52 |
|
53 |
|
54 | printImg(url: string, height: number): void;
|
55 | |
56 |
|
57 |
|
58 | printDom(node: Node): void;
|
59 | destroy(): void;
|
60 | }
|
61 | export function createVConsole(dom: Element): VConsole;
|
62 | export function createModuleLogger(moduleName: string): (...args: any[]) => void;
|
63 |
|
\ | No newline at end of file |