blob: bbae2838a54dc4fb3636853b7d5830ee830b60c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
export interface LogStep {
modify(text: string, color?: string): void;
log(text: string, color?: string): void;
pause(): void;
resume(): void;
}
export declare class Logger {
verbose: boolean;
private silent;
private ora;
private modify;
write: (text: string, color?: string) => void;
constructor(level: 'verbose' | 'silent' | 'info');
flush(): Promise<unknown>;
_write(update: string, color?: string): void;
_modify(update: string, color?: any): void;
step(text: string, method?: string): LogStep;
}
|