react-azure-config
Version:
🚀 The Ultimate Multi-App Configuration Library! CRITICAL BUG FIXES: Prefixed environment keys no longer sent to Azure. Complete architectural redesign with bulletproof fallback system. Enterprise-grade Azure integration and monorepo support.
23 lines • 736 B
TypeScript
type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'silent';
interface LoggerConfig {
level: LogLevel;
prefix: string;
enableTimestamp?: boolean;
enableColors?: boolean;
}
declare class Logger {
private config;
constructor(config?: Partial<LoggerConfig>);
private getDefaultLogLevel;
private formatMessage;
private shouldLog;
debug(message: string, ...args: unknown[]): void;
info(message: string, ...args: unknown[]): void;
warn(message: string, ...args: unknown[]): void;
error(message: string, ...args: unknown[]): void;
setLevel(level: LogLevel): void;
}
export declare const logger: Logger;
export { Logger };
export type { LogLevel };
//# sourceMappingURL=logger.d.ts.map