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