diff --git a/fleet/lsp.protocol/src/main/com/jetbrains/lsp/protocol/LogTrace.kt b/fleet/lsp.protocol/src/main/com/jetbrains/lsp/protocol/LogTrace.kt index c61a1b47093b..e1a70b2d59a5 100644 --- a/fleet/lsp.protocol/src/main/com/jetbrains/lsp/protocol/LogTrace.kt +++ b/fleet/lsp.protocol/src/main/com/jetbrains/lsp/protocol/LogTrace.kt @@ -15,8 +15,16 @@ data class LogTraceParams( val verbose: String? ) +@Serializable +data class SetTraceParams( + /** + * The new value that should be assigned to the trace setting. + */ + val value: TraceValue, +) + val LogTraceNotificationType: NotificationType = NotificationType("\$/logTrace", LogTraceParams.serializer()) -val SetTraceNotificationType: NotificationType = - NotificationType("\$/setTrace", TraceValue.serializer()) \ No newline at end of file +val SetTraceNotificationType: NotificationType = + NotificationType("\$/setTrace", SetTraceParams.serializer()) \ No newline at end of file