class
MCProtocol::LoggingMessageNotificationParams
- MCProtocol::LoggingMessageNotificationParams
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/logging_message_notification.crConstructors
- .new(data : JSON::Any, level : LoggingLevel, logger : String | Nil = Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#data : JSON::Any
The data to be logged, such as a string message or an object.
-
#level : LoggingLevel
The severity of this log message.
-
#logger : String | Nil
An optional name of the logger issuing this message.
Constructor Detail
Instance Method Detail
def data : JSON::Any
#
The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.