@dollhousemcp/mcp-server
Version:
DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.
22 lines • 700 B
TypeScript
/**
* Logger interface for type safety and testing
*
* This interface provides type safety for the logger throughout the codebase
* while maintaining the singleton pattern for simplicity.
*/
export interface LogEntry {
timestamp: Date;
level: 'debug' | 'info' | 'warn' | 'error';
message: string;
data?: any;
}
export interface ILogger {
debug(message: string, data?: any): void;
info(message: string, data?: any): void;
warn(message: string, data?: any): void;
error(message: string, data?: any): void;
getLogs(count?: number, level?: LogEntry['level']): LogEntry[];
clearLogs(): void;
setMCPConnected(): void;
}
//# sourceMappingURL=ILogger.d.ts.map