Exception: Exception

Defined in:
lib/logstash/patches/exception_to_json.rb

Direct Known Subclasses

LogStash::Instrument::MetricException

Instance Method Summary collapse

Instance Method Details

#to_jsonObject



2
3
4
# File 'lib/logstash/patches/exception_to_json.rb', line 2

def to_json
  {"exception_name" => self.class.name, "message" => message}
end