Params

data class Params(val level: LoggingLevel, val logger: String? = null, val data: JsonElement, val _meta: JsonObject = EmptyJsonObject) : NotificationParams(source)

Constructors

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

Properties

Link copied to clipboard
open override val _meta: JsonObject

The protocol reserves this result property to allow clients and servers to attach additional metadata to their responses.

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.