Method: Fluent::UnwindOutput#configure

Defined in:
lib/fluent/plugin/out_unwind.rb

#configure(conf) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/fluent/plugin/out_unwind.rb', line 9

def configure(conf)
  super
  REQUIRED_PARAMS.each do |param|
    unless config.has_key?(param)
      raise Fluent::ConfigError, "#{param} field is required"
    end
  end
end