(mcpServer: McpServer | null, method: string, url: string, context?: unknown)
| 138 | |
| 139 | // Tier 2 convenience methods |
| 140 | request(mcpServer: McpServer | null, method: string, url: string, context?: unknown): void { |
| 141 | const message = `Request: ${method?.toUpperCase()} ${url}`; |
| 142 | if (this.serverLogLevel === 'debug') { |
| 143 | this.debug(mcpServer, message, context); |
| 144 | } else { |
| 145 | this.info(mcpServer, message); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | response(mcpServer: McpServer | null, status: number, url: string, context?: unknown): void { |
| 150 | const message = `Response: ${status} ${url}`; |
no test coverage detected