Sha256: 2a622a1c73d17161d984b5440c6d6a894c162ddce29b9a56f4e961c81b3ef1cd
Contents?: true
Size: 171 Bytes
Versions: 2
Compression:
Stored size: 171 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-2.1.0 | lib/dispatch-rider/logging/json_formatter.rb |
dispatch-rider-2.0.0 | lib/dispatch-rider/logging/json_formatter.rb |