diff --git a/fleet/lsp.protocol/srcCommonMain/com/jetbrains/lsp/protocol/LogTrace.kt b/fleet/lsp.protocol/srcCommonMain/com/jetbrains/lsp/protocol/LogTrace.kt
index e1a70b2d59a5..5ea9aca8bba0 100644
--- a/fleet/lsp.protocol/srcCommonMain/com/jetbrains/lsp/protocol/LogTrace.kt
+++ b/fleet/lsp.protocol/srcCommonMain/com/jetbrains/lsp/protocol/LogTrace.kt
@@ -2,17 +2,20 @@ package com.jetbrains.lsp.protocol
import kotlinx.serialization.Serializable
+/**
+ * @see logTraceParams (LSP spec)
+ */
@Serializable
data class LogTraceParams(
- /**
- * The message to be logged.
- */
- val message: String,
- /**
- * Additional information that can be computed if the `trace` configuration
- * is set to `"verbose"`
- */
- val verbose: String?
+ /**
+ * The message to be logged.
+ */
+ val message: String,
+ /**
+ * Additional information that can be computed if the `trace` configuration
+ * is set to `"verbose"`
+ */
+ val verbose: String?,
)
@Serializable
@@ -23,8 +26,18 @@ data class SetTraceParams(
val value: TraceValue,
)
-val LogTraceNotificationType: NotificationType =
- NotificationType("\$/logTrace", LogTraceParams.serializer())
+/**
+ * @see $/logTrace (LSP spec)
+ */
+val LogTraceNotificationType: NotificationType = NotificationType(
+ method = "$/logTrace",
+ paramsSerializer = LogTraceParams.serializer(),
+)
-val SetTraceNotificationType: NotificationType =
- NotificationType("\$/setTrace", SetTraceParams.serializer())
\ No newline at end of file
+/**
+ * @see $/setTrace (LSP spec)
+ */
+val SetTraceNotificationType: NotificationType = NotificationType(
+ method = "$/setTrace",
+ paramsSerializer = SetTraceParams.serializer(),
+)