MCPcopy Create free account
hub / github.com/Noumena-Network/code / logMCPDebug

Function logMCPDebug

src/utils/log.ts:315–327  ·  view source on GitHub ↗
(serverName: string, message: string)

Source from the content-addressed store, hash-verified

313}
314
315export function logMCPDebug(serverName: string, message: string): void {
316 try {
317 // If sink not attached, queue the event
318 if (errorLogSink === null) {
319 errorQueue.push({ type: 'mcpDebug', serverName, message })
320 return
321 }
322
323 errorLogSink.logMCPDebug(serverName, message)
324 } catch {
325 // Silently fail
326 }
327}
328
329/**
330 * Captures the last API request for inclusion in bug reports.

Callers 15

callFunction · 0.85
MCPRemoteServerMenuFunction · 0.85
handleChannelEnableFunction · 0.85
handleRemoteAuthFailureFunction · 0.85
client.tsFile · 0.85
cleanupFunction · 0.85
callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected