Module: Fluent::Plugin::MapConfigParam

Included in:
MapFilter, MapOutput
Defined in:
lib/fluent/plugin/map_config_param.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



20
21
22
23
24
25
26
27
28
29
# File 'lib/fluent/plugin/map_config_param.rb', line 20

def self.included(klass)
  klass.instance_eval {
    config_param :map, :string, :default => nil
    config_param :time, :string, :default => nil
    config_param :record, :string, :default => nil
    config_param :multi, :bool, :default => false
    config_param :timeout, :time, :default => 1
    config_param :format, :string, :default => nil
  }
end