@entro314labs/at3-toolkit
Version:
Advanced development toolkit for AT3 Stack projects
21 lines (20 loc) • 746 B
TypeScript
export declare class Logger {
private verbose;
constructor(verbose?: boolean);
setVerbose(verbose: boolean): void;
info(message: string, ...args: any[]): void;
success(message: string, ...args: any[]): void;
warn(message: string, ...args: any[]): void;
error(message: string, error?: any): void;
debug(message: string, ...args: any[]): void;
table(data: Record<string, string>): void;
list(items: string[], prefix?: string): void;
step(step: number, total: number, message: string): void;
section(title: string): void;
newline(): void;
spinner(message: string): {
succeed: (msg?: string) => void;
fail: (msg?: string) => void;
stop: (msg?: string) => void;
};
}