autoagent-cli
Version:
Run autonomous AI agents using Claude or Gemini for task execution
23 lines (22 loc) • 964 B
TypeScript
export type LogLevel = 'info' | 'success' | 'warning' | 'error' | 'debug';
export interface LoggerOptions {
prefix?: string;
timestamp?: boolean;
debugEnabled?: boolean;
}
export declare class Logger {
private static debugEnabled;
private static defaultOptions;
static setDebugEnabled(enabled: boolean): void;
static setDefaultOptions(options: LoggerOptions): void;
private static formatMessage;
static info(message: string, options?: LoggerOptions): void;
static success(message: string, options?: LoggerOptions): void;
static warning(message: string, options?: LoggerOptions): void;
static error(message: string | Error, options?: LoggerOptions): void;
static debug(message: string, options?: LoggerOptions): void;
static progress(message: string, current: number, total: number, options?: LoggerOptions): void;
private static createProgressBar;
static clear(): void;
static newline(): void;
}