Sha256: cf90b7652f70a18e0333866ad7af62c9fa22e52e5d710d676e2a8e8ea75899ee
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
# frozen_string_literal: true require "dry/logger/formatters/structured" module Dry module Logger module Formatters # Special handling of `:params` in the log entry payload # # @since 1.0.0 # @api private # # @see String class Rack < String # @since 1.0.0 # @api private def format_entry(entry) [*entry.payload.except(:params).values, entry[:params]].compact.join(SEPARATOR) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dry-logger-1.0.0.rc2 | lib/dry/logger/formatters/rack.rb |
dry-logger-1.0.0.rc1 | lib/dry/logger/formatters/rack.rb |