Sha256: e4e1bab562b74690186b9d2a36b472784a00ea6ad027ad724e40779800247ffd

Contents?: true

Size: 299 Bytes

Versions: 6

Compression:

Stored size: 299 Bytes

Contents

class Fluent::ExampleOutput < Fluent::Output
  Fluent::Plugin.register_output('example', self)

  config_param :param, :string, :default => nil

  def configure(conf)
    super

    raise Fluent::ConfigError, "bad param" if @param == "bad"
  end

  def emit(tag, es, chain)
    chain.next
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fluent-format-0.3.0 example/out_example.rb
fluent-format-0.2.6 example/out_example.rb
fluent-format-0.2.5 example/out_example.rb
fluent-format-0.2.4 example/out_example.rb
fluent-format-0.2.3 example/out_example.rb
fluent-format-0.2.2 example/out_example.rb