Sha256: d7272545972653e5589c379fb444d674efddcac76f5b8a28f2c05d43d5eb81e3

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

# encoding: utf-8
require "logstash/codecs/base"

class LogStash::Codecs::Dots < LogStash::Codecs::Base
  config_name "dots"
  milestone 1

  public
  def decode(data)
    raise "Not implemented"
  end # def decode

  public
  def encode(event)
    @on_event.call(event, ".")
  end # def encode

end # class LogStash::Codecs::Dots

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-codec-dots-0.1.3 lib/logstash/codecs/dots.rb