Sha256: 53ce3bcde36b8955873e65ea89e7361f84c1ee0c5260f62fff9a207e45e21304

Contents?: true

Size: 190 Bytes

Versions: 24

Compression:

Stored size: 190 Bytes

Contents

module LogStashLogger
  module Formatter
    class JsonLines < Base
      def call(severity, time, progname, message)
        super
        "#{@event.to_json}\n"
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
logstash-logger-0.14.1 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.14.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.13.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.12.0 lib/logstash-logger/formatter/json_lines.rb