solidworks-mcp-server
Version:
Clean Architecture SolidWorks MCP Server - Production-ready with SOLID principles
24 lines • 876 B
TypeScript
/**
* Logger Implementation
* Production-ready logging with multiple transports
*/
import { ILogger } from '../../core/interfaces/core-abstractions.js';
export interface LoggerConfig {
level?: string;
console?: boolean;
file?: boolean;
filePath?: string;
format?: 'json' | 'text';
maxFileSize?: number;
maxFiles?: number;
}
export declare class Logger implements ILogger {
private winston;
constructor(config?: LoggerConfig);
debug(message: string, context?: Record<string, unknown>): void;
info(message: string, context?: Record<string, unknown>): void;
warn(message: string, context?: Record<string, unknown>): void;
error(message: string, error?: Error, context?: Record<string, unknown>): void;
fatal(message: string, error?: Error, context?: Record<string, unknown>): void;
}
//# sourceMappingURL=logger.d.ts.map