LoggingMessageNotification extension type
Notification of a log message passed from server to client.
If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.
- on
- Implemented types
Constructors
- LoggingMessageNotification.new({required LoggingLevel level, String? logger, required Object data, Meta? meta})
-
factory
-
LoggingMessageNotification.fromMap(Map<
String, Object?> _value)
Properties
- data → Object
-
The data to be logged, such as a string message or an object.
no setter
- level → LoggingLevel
-
The severity of this log message.
no setter
- logger → String?
-
An optional name of the logger issuing this message.
no setter
- meta → Meta?
-
This parameter name is reserved by MCP to allow clients and servers to
attach additional metadata to their notifications.
no setterinherited
Constants
- methodName → const String