adpa-enterprise-framework-automation
Version:
Modular, standards-compliant Node.js/TypeScript automation framework for enterprise requirements, project, and data management. Provides CLI and API for BABOK v3, PMBOK 7th Edition, and DMBOK 2.0 (in progress). Production-ready Express.js API with TypeSpe
27 lines • 791 B
TypeScript
/**
* Logger Implementation
* Provides structured logging with different levels and context
*/
export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
export interface LogEntry {
timestamp: Date;
level: LogLevel;
message: string;
context?: any;
module: string;
}
export declare class Logger {
private module;
private minLevel;
constructor(module: string, minLevel?: LogLevel);
debug(message: string, context?: any): void;
info(message: string, context?: any): void;
warn(message: string, context?: any): void;
error(message: string, context?: any): void;
private log;
private shouldLog;
private output;
createChild(childModule: string): Logger;
}
export declare const logger: Logger;
//# sourceMappingURL=logger.d.ts.map