@pulzar/cli
Version:
Ultimate command-line interface for Pulzar framework - scaffolding, development server, building, testing, code generation, health diagnostics, security auditing, and deployment tools for modern Node.js applications
24 lines • 778 B
TypeScript
export declare enum LogLevel {
ERROR = 0,
WARN = 1,
INFO = 2,
DEBUG = 3
}
export interface LoggerOptions {
level: LogLevel;
enableColors: boolean;
}
export declare class Logger {
private options;
constructor(options?: Partial<LoggerOptions>);
error(message: string, context?: Record<string, any>): void;
warn(message: string, context?: Record<string, any>): void;
info(message: string, context?: Record<string, any>): void;
debug(message: string, context?: Record<string, any>): void;
success(message: string): void;
private log;
setLevel(level: LogLevel): void;
}
export declare const logger: Logger;
export declare function createLogger(options?: Partial<LoggerOptions>): Logger;
//# sourceMappingURL=logger.d.ts.map