Module: LogStruct::Log::MergeAdditionalDataFields
- Extended by:
- T::Helpers, T::Sig
- Includes:
- SerializeCommon
- Included in:
- ActionMailer, ActiveJob, CarrierWave, Error, GoodJob, Plain, SQL, Security, Shrine
- Defined in:
- lib/log_struct/log/shared/merge_additional_data_fields.rb
Overview
Helper module for merging additional data into serialized logs
Instance Method Summary collapse
Methods included from SerializeCommon
Instance Method Details
#merge_additional_data_fields(hash) ⇒ void
This method returns an undefined value.
21 22 23 24 25 |
# File 'lib/log_struct/log/shared/merge_additional_data_fields.rb', line 21 def merge_additional_data_fields(hash) additional_data.each do |key, value| hash[key.to_sym] = value end end |