UNPKG

rynex

Version:

A minimalist TypeScript framework for building reactive web applications with no virtual DOM

28 lines 725 B
/** * Rynex Professional Logger * Clean, minimal logging without emojis */ export declare enum LogLevel { INFO = "INFO", SUCCESS = "SUCCESS", WARNING = "WARNING", ERROR = "ERROR", DEBUG = "DEBUG" } declare class Logger { private useColors; private debugEnabled; constructor(useColors?: boolean); private formatMessage; info(message: string): void; success(message: string): void; warning(message: string): void; error(message: string, error?: Error): void; debug(message: string): void; setDebug(enabled: boolean): void; section(title: string): void; divider(): void; } export declare const logger: Logger; export {}; //# sourceMappingURL=logger.d.ts.map