lib/logstasher/custom_fields.rb in logstasher-2.1.1 vs lib/logstasher/custom_fields.rb in logstasher-2.1.2

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module LogStasher module CustomFields module LogSubscriber def extract_custom_fields(data) (!CustomFields.custom_fields.empty? && data.extract!(*CustomFields.custom_fields)) || {}