class LanguageServer::Protocol::Interface::LogTraceParams
Attributes
attributes[R]
Public Class Methods
new(message:, verbose: nil)
click to toggle source
# File lib/language_server/protocol/interface/log_trace_params.rb, line 5 def initialize(message:, verbose: nil) @attributes = {} @attributes[:message] = message @attributes[:verbose] = verbose if verbose @attributes.freeze end
Public Instance Methods
message()
click to toggle source
The message to be logged.
@return [string]
# File lib/language_server/protocol/interface/log_trace_params.rb, line 18 def message attributes.fetch(:message) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/log_trace_params.rb, line 33 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/log_trace_params.rb, line 37 def to_json(*args) to_hash.to_json(*args) end
verbose()
click to toggle source
Additional information that can be computed if the `trace` configuration is set to `'verbose'`
@return [string]
# File lib/language_server/protocol/interface/log_trace_params.rb, line 27 def verbose attributes.fetch(:verbose) end