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.25.1 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.25.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.24.1 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.24.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.23.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.22.1 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.22.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.21.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.20.1 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.20.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.19.2 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.19.1 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.19.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.18.1 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.18.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.17.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.16.0 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.15.2 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.15.1 lib/logstash-logger/formatter/json_lines.rb
logstash-logger-0.15.0 lib/logstash-logger/formatter/json_lines.rb