@aws-amplify/cli-internal
Version:
Amplify CLI
28 lines • 849 B
TypeScript
export declare class SpinningLogger {
private readonly prefix;
private static readonly SEPARATOR;
private readonly segments;
private readonly spinner;
private readonly debugMode;
private spinnerActive;
constructor(prefix: string, options?: {
readonly debug?: boolean;
});
start(text: string): void;
stop(): void;
succeed(text: string): void;
failed(text: string): void;
push(text: string): void;
pop(): void;
info(message: string): void;
debug(message: string): void;
warn(message: string): void;
withSpinnerPaused(fn: () => void): void;
pause(): void;
resume(): void;
withSpinnerPausedAsync(fn: () => Promise<void>): Promise<void>;
private buildSpinnerText;
private formatLine;
private printLine;
}
//# sourceMappingURL=spinning-logger.d.ts.map