LoggingMessageParams

@Serializable
data class LoggingMessageParams(val level: LoggingLevel, val logger: String? = null, val data: JsonElement, val _meta: Map<String, JsonElement>? = null) : NotificationParams

A notification of a log message passed from server to client. If no logging/setLevel request has been sent, the server MAY decide which messages to send.

Constructors

Link copied to clipboard
constructor(level: LoggingLevel, logger: String? = null, data: JsonElement, _meta: Map<String, JsonElement>? = null)

Properties

Link copied to clipboard
open override val _meta: Map<String, JsonElement>?
Link copied to clipboard
val data: JsonElement

The data to log, any JSON-serializable type.

Link copied to clipboard

The severity of the log message.

Link copied to clipboard

An optional name of the logger issuing this message.