Sha256: f718f7820ceab6a655413a222abac117a5f8bcb29bc67fffde9a8a1e9bd8ff72

Contents?: true

Size: 198 Bytes

Versions: 1

Compression:

Stored size: 198 Bytes

Contents

# frozen_string_literal: true

class PrettyJsonFormatter < HashFormatter
  def call(severity, timestamp, progname, msg)
    JSON.pretty_generate(super(severity, timestamp, progname, msg))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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