Sha256: f10308c085f093165c26aa346be543b39c27a5e778e24a023da9f423794c085b
Contents?: true
Size: 422 Bytes
Versions: 1
Compression:
Stored size: 422 Bytes
Contents
module Timber module Contexts # Base class for SQLQuery sub types. class SQLQuery < Context ROOT_KEY = :sql_query.freeze VERSION = 1.freeze private def json_payload @json_payload ||= Macros::DeepMerger.merge({ # order is relevant for logfmt styling :sql => sql, :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/sql_query.rb |