UNPKG

mcp-framework

Version:

Framework for building Model Context Protocol (MCP) servers in Typescript

21 lines (20 loc) 560 B
export declare class Logger { private static instance; private logStream; private logFilePath; private logToFile; private constructor(); private initFileLogging; static getInstance(): Logger; private getTimestamp; private formatMessage; info(message: string): void; log(message: string): void; error(message: string): void; warn(message: string): void; debug(message: string): void; close(): void; getLogPath(): string; isFileLoggingEnabled(): boolean; } export declare const logger: Logger;