ludus-mcp
Version:
MCP server for managing Ludus cybersecurity training environments through natural language commands
39 lines • 1.03 kB
TypeScript
/**
* Logger utility for structured logging with different levels
*/
export declare class Logger {
private context;
private isDebugEnabled;
private fileLogger?;
private isFileLoggingEnabled;
constructor(context: string);
/**
* Log debug messages (only in debug mode)
*/
debug(message: string, meta?: Record<string, unknown>): void;
/**
* Log info messages
*/
info(message: string, meta?: Record<string, unknown>): void;
/**
* Log warning messages
*/
warn(message: string, meta?: Record<string, unknown>): void;
/**
* Log error messages
*/
error(message: string, error?: Error | unknown, meta?: Record<string, unknown>): void;
/**
* Core logging method
*/
private log;
/**
* Get the file log path if file logging is enabled
*/
getLogPath(): string | null;
/**
* Get the log directory if file logging is enabled
*/
getLogDirectory(): string | null;
}
//# sourceMappingURL=logger.d.ts.map