Package org.eclipse.lsp4j
Class LogTraceParams
- java.lang.Object
-
- org.eclipse.lsp4j.LogTraceParams
-
public class LogTraceParams extends java.lang.ObjectA notification to log the trace of the server's execution. The amount and content of these notifications depends on the current trace configuration. If trace is 'off', the server should not send any logTrace notification. If trace is 'message', the server should not add the 'verbose' field.Since 3.16.0
-
-
Constructor Summary
Constructors Constructor Description LogTraceParams()LogTraceParams(java.lang.String message)LogTraceParams(java.lang.String message, java.lang.String verbose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetMessage()The message to be logged.java.lang.StringgetVerbose()Additional information that can be computed if thetraceconfiguration is set toTraceValue.VerboseinthashCode()voidsetMessage(java.lang.String message)The message to be logged.voidsetVerbose(java.lang.String verbose)Additional information that can be computed if thetraceconfiguration is set toTraceValue.Verbosejava.lang.StringtoString()
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
The message to be logged.
-
setMessage
public void setMessage(java.lang.String message)
The message to be logged.
-
getVerbose
public java.lang.String getVerbose()
Additional information that can be computed if thetraceconfiguration is set toTraceValue.Verbose
-
setVerbose
public void setVerbose(java.lang.String verbose)
Additional information that can be computed if thetraceconfiguration is set toTraceValue.Verbose
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-