SetLevelRequestParams

data class SetLevelRequestParams(val level: LoggingLevel, val meta: RequestMeta? = null) : RequestParams(source)

Parameters for a logging/setLevel request.

Constructors

Link copied to clipboard
constructor(level: LoggingLevel, meta: RequestMeta? = null)

Properties

Link copied to clipboard

The minimum severity level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message. For example, if level is LoggingLevel.Warning, the server should send warning, error, critical, alert, and emergency messages, but not info, notice, or debug.

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

Optional metadata for this request. May include a progressToken for out-of-band progress notifications.