Module: LogStash::PluginMixins::EventSupport::FromJsonHelper
- Defined in:
- lib/logstash/plugin_mixins/event_support/from_json_helper.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/logstash/plugin_mixins/event_support/from_json_helper.rb', line 14 def self.included(base) if defined? LogStash::Plugins::EventFactorySupport # native support from LS core base.send(:include, NativeImpl) else require 'logstash/json' base.send(:include, FallbackImpl) end end |