Sha256: 6389caaf98529fd75698fc6b12c1b0c0d6bcd345f64197825ed4e4cb566f55a2

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

# frozen_string_literal: true

class JsonFormatter < HashFormatter
  def call(severity, timestamp, progname, msg)
    super(severity, timestamp, progname, msg).to_json
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent_logger_rails-0.1.0 lib/fluent_logger_rails/json_formatter.rb