Sha256: ea326391359dfee9ed5d42810e55a7e42329cb502841773f927154f0730b8937
Contents?: true
Size: 564 Bytes
Versions: 1
Compression:
Stored size: 564 Bytes
Contents
module Timber module Contexts class HTTPRequest < Context ROOT_KEY = :http_request.freeze VERSION = 1.freeze private def json_payload @json_payload ||= Macros::DeepMerger.merge({ # order is relevant for logfmt styling :method => method, :scheme => scheme, :host => host, :port => port, :path => path, :query_params => query_params.as_json, :headers => headers.as_json }, super).freeze end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
timberio-1.0.0.beta1 | lib/timber/contexts/http_request.rb |