test(logging): Add tests for logging (#96)

* test(logging): implement basic logging functionality

* test(logging): add comprehensive server transport tests
This commit is contained in:
Jonathan Hendler 2025-04-05 02:45:57 -10:00 • committed by GitHub
commit 72e7533e41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -610,8 +610,8 @@ pub type PromptListChangedNotification = NotificationNoParam<PromptListChangedNo
const_string!(ToolListChangedNotificationMethod = "notifications/tools/list_changed");
pub type ToolListChangedNotification = NotificationNoParam<ToolListChangedNotificationMethod>;
// 日志相关
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "camelCase")]
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Copy)]
#[serde(rename_all = "lowercase")] //match spec
pub enum LoggingLevel {
Debug,
Info,