class Time

Use a custom serialization for jsonifying Time objects. TODO(sissel): Put this in a separate file.

Public Instance Methods

inspect() click to toggle source
# File lib/logstash/event.rb, line 14
def inspect
  return to_json
end
to_json(*args) click to toggle source
# File lib/logstash/event.rb, line 10
def to_json(*args)
  return iso8601(3).to_json(*args)
end