Sha256: 6afac27d2f8dc48a83b686d34a1ec0305ad8bffd1a2b1ece47103c75b0ff911d

Contents?: true

Size: 173 Bytes

Versions: 12

Compression:

Stored size: 173 Bytes

Contents

require 'json'

# JSON Log Formatter
module DispatchRider
  module Logging
    class JsonFormatter

      def format(data)
        data.to_json
      end

    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dispatch-rider-1.9.0 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.8.6 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.8.5 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.8.4 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.8.3 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.8.2 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.8.1 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.8.0 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.7.2 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.7.1 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.7.0 lib/dispatch-rider/logging/json_formatter.rb
dispatch-rider-1.6.2 lib/dispatch-rider/logging/json_formatter.rb