Sha256: 5fa9a2e58896a31530c1552b0efa594ca38fbe703a7543edea2a94165664a6c0

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

# encoding: utf-8
require "logstash/outputs/base"
require "logstash/namespace"

# A null output. This is useful for testing logstash inputs and filters for
# performance.
class LogStash::Outputs::Null < LogStash::Outputs::Base
  config_name "null"
  milestone 3

  public
  def register
  end # def register

  public
  def receive(event)
  end # def event
end # class LogStash::Outputs::Null

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
logstash-output-null-0.1.1 lib/logstash/outputs/null.rb
logstash-output-null-0.1.0 lib/logstash/outputs/null.rb
logstash-lib-1.3.2 lib/logstash/outputs/null.rb