Set logging level before calling test_tool_with_logging (#38)
This commit is contained in:
parent
6239c16d42
commit
3caf68722d
1 changed files with 3 additions and 0 deletions
|
|
@ -388,6 +388,9 @@ Implement tool \`test_tool_with_logging\` with no arguments.
|
||||||
const connection = await connectToServer(serverUrl);
|
const connection = await connectToServer(serverUrl);
|
||||||
const notifications = new NotificationCollector(connection.client);
|
const notifications = new NotificationCollector(connection.client);
|
||||||
|
|
||||||
|
// Set logging level to debug
|
||||||
|
await connection.client.setLoggingLevel('debug');
|
||||||
|
|
||||||
await connection.client.callTool({
|
await connection.client.callTool({
|
||||||
name: 'test_tool_with_logging',
|
name: 'test_tool_with_logging',
|
||||||
arguments: {}
|
arguments: {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue