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:
parent
57f2ba265f
commit
72e7533e41
1 changed files with 336 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue