LoggingMessageNotificationParams

data class LoggingMessageNotificationParams(val level: LoggingLevel, val data: JsonElement, val logger: String? = null, val meta: JsonObject? = null) : NotificationParams(source)

Parameters for a notifications/message notification.

Constructors

Link copied to clipboard
constructor(level: LoggingLevel, data: JsonElement, logger: String? = null, meta: JsonObject? = null)

Properties

Link copied to clipboard
open val _meta: JsonObject
Link copied to clipboard

The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.

Link copied to clipboard

The severity of this log message.

Link copied to clipboard

An optional name of the logger issuing this message.

Link copied to clipboard
@SerialName(value = "_meta")
open override val meta: JsonObject?

Optional metadata for this notification.