MCPcopy Create free account
hub / github.com/modelcontextprotocol/inspector / sendLogLevelRequest

Function sendLogLevelRequest

client/src/App.tsx:1270–1279  ·  view source on GitHub ↗
(level: LoggingLevel)

Source from the content-addressed store, hash-verified

1268 };
1269
1270 const sendLogLevelRequest = async (level: LoggingLevel) => {
1271 await sendMCPRequest(
1272 {
1273 method: "logging/setLevel" as const,
1274 params: { level },
1275 },
1276 z.object({}),
1277 );
1278 setLogLevel(level);
1279 };
1280
1281 const AuthDebuggerWrapper = () => (
1282 <TabsContent value="auth">

Callers 1

SidebarFunction · 0.85

Calls 1

sendMCPRequestFunction · 0.85

Tested by

no test coverage detected