Commit a96da371 authored by Jordan Zimmerman's avatar Jordan Zimmerman Committed by Christian Tzolov
Browse files

fix: ServerCapabilities should not enable logging by default (#463)



- Change LoggingCapabilities from default-initialized to nullable in ServerCapabilities
- Add check if server logging is enabled in McpAsyncClient before setting logging level
- Ensure McpAsyncServer always enables logging capabilities when built
- Ensure McpStatelessAsyncServer has disabled logging capability by default
- Update tests to verify logging capabilities can be null

Signed-off-by: default avatarChristian Tzolov <christian.tzolov@broadcom.com>
Co-authored-by: default avatarChristian Tzolov <christian.tzolov@broadcom.com>
parent 369e925c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment