pub struct LoggingMessageNotification {
pub jsonrpc: JsonRpcVersion,
pub method: NotificationsMessageMethod,
pub params: LoggingMessageNotificationParams,
}Deprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
Expand description
JSONRPCNotification of a log message passed from server to client. The client opts in by setting "io.modelcontextprotocol/logLevel" in a request’s _meta.
Fields§
§jsonrpc: JsonRpcVersionDeprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
method: NotificationsMessageMethodDeprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
params: LoggingMessageNotificationParamsDeprecated as of protocol version 2026-07-28 (SEP-2577). Remains in the specification for at least twelve months; see the deprecated features registry.
Implementations§
Source§impl LoggingMessageNotification
impl LoggingMessageNotification
Sourcepub fn new(params: LoggingMessageNotificationParams) -> Self
pub fn new(params: LoggingMessageNotificationParams) -> Self
Creates a value from its required fields; optional fields are None.