Parent

Class/Module Index [+]

Quicksearch

Fluent::EngineClass::NoMatchMatch

Public Class Methods

new() click to toggle source
# File lib/fluent/engine.rb, line 272
def initialize
  @count = 0
end

Public Instance Methods

emit(tag, es) click to toggle source
# File lib/fluent/engine.rb, line 276
def emit(tag, es)
  # TODO use time instead of num of records
  c = (@count += 1)
  if c < 512
    if Math.log(c) / Math.log(2) % 1.0 == 0
      $log.warn "no patterns matched", :tag=>tag
      return
    end
  else
    if c % 512 == 0
      $log.warn "no patterns matched", :tag=>tag
      return
    end
  end
  $log.on_trace { $log.trace "no patterns matched", :tag=>tag }
end
match(tag) click to toggle source
# File lib/fluent/engine.rb, line 299
def match(tag)
  false
end
shutdown() click to toggle source
# File lib/fluent/engine.rb, line 296
def shutdown
end
start() click to toggle source
# File lib/fluent/engine.rb, line 293
def start
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.