gx
chenyc
2025-06-12 7b72ac13a83764a662159d4a49b7fffb90476ecb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
declare class Log {
    debugMode: boolean;
    private bar?;
    private lines;
    debug(text: string, lines?: string[] | string): void;
    info(text: string, lines?: string[] | string): void;
    warn(text: string, lines?: string[] | string): void;
    error(text: Error | string, lines?: string[] | string): void;
    enableProgress(text: string): void;
    showProgress(percentage: number): void;
    disableProgress(): void;
}
export declare const log: Log;
declare class ReportedError extends Error {
    name: string;
    wasReported: boolean;
}
export declare function wasReported(error?: string, lines?: string[] | string | string): ReportedError;
export {};
//# sourceMappingURL=log.d.ts.map