class MCProtocol::LoggingMessageNotificationParams

Included Modules

Defined in:

mcprotocol/logging_message_notification.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : JSON::Any, level : LoggingLevel, logger : String | Nil = Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

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.


[View source]
def level : LoggingLevel #

The severity of this log message.


[View source]
def logger : String | Nil #

An optional name of the logger issuing this message.


[View source]