MCP Server Framework - v1.0.0
    Preparing search index...

    Interface LogNotificationHandler

    Interface for sending log notifications to external consumers.

    Implementations deliver log messages to connected clients (e.g., MCP clients via notifications/message). The logger uses this interface instead of depending directly on the MCP SDK.

    Implementations are registered via McpNotificationLogger.addHandler.

    interface LogNotificationHandler {
        sendLogNotification(level: McpLogLevel, message: string): Promise<void>;
    }

    Implemented by

    Index

    Methods