lib/betterlog/global_metadata.rb in betterlog-1.0.0 vs lib/betterlog/global_metadata.rb in betterlog-1.1.0
- old
+ new
@@ -8,9 +8,10 @@
include Tins::SexySingleton
thread_local(:data) { {} }
def add(data_hash)
+ data_hash = data_hash.symbolize_keys_recursive
data = data_hash | data
Notifiers.context(data_hash)
self
end
end