Sha256: e72bb207112e8a85c7692e665eec5fec23f208c6f53e020fec00fb70f0430318

Contents?: true

Size: 202 Bytes

Versions: 1

Compression:

Stored size: 202 Bytes

Contents

# frozen_string_literal: true

require 'json'

# JSON Log Formatter
module DispatchRider
  module Logging
    class JsonFormatter
      def format(data)
        data.to_json
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 lib/dispatch-rider/logging/json_formatter.rb