Sha256: 9610b510f343446226e74a878ec1b13c00b0e0fe3ee657378538c1e05be01229

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

module Timber
  module Contexts
    class TemplateRender < Context
      ROOT_KEY = :template_render.freeze
      VERSION = 1.freeze

      private
        def json_payload
          @json_payload ||= Macros::DeepMerger.merge({
            # order is relevant for logfmt styling
            :name => name,
            :time_ms => time_ms
          }, 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/template_render.rb