You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Sent from the server as the payload of "notifications/message" notifications whenever a log message is generated.
8
+
///
9
+
/// If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.
10
+
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
11
+
/// </summary>
12
+
publicclassLoggingMessageNotificationParams
13
+
{
14
+
/// <summary>
15
+
/// The severity of this log message.
16
+
/// </summary>
17
+
[JsonPropertyName("level")]
18
+
publicLoggingLevelLevel{get;init;}
19
+
20
+
/// <summary>
21
+
/// An optional name of the logger issuing this message.
22
+
/// </summary>
23
+
[JsonPropertyName("logger")]
24
+
publicstring?Logger{get;init;}
25
+
26
+
/// <summary>
27
+
/// The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.
/// A request from the client to the server, to enable or adjust logging.
7
+
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
8
+
/// </summary>
9
+
publicclassSetLevelRequestParams
10
+
{
11
+
/// <summary>
12
+
/// The level of logging that the client wants to receive from the server.
13
+
/// The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message.
0 commit comments