class Fluent::Label

Attributes

root_agent[RW]

Public Class Methods

new(name, opts = {}) click to toggle source
Calls superclass method Fluent::Agent.new
# File lib/fluent/label.rb, line 21
def initialize(name, opts = {})
  super(opts)

  @context = name
  @root_agent = nil
end

Public Instance Methods

emit_error_event(tag, time, record, e) click to toggle source
# File lib/fluent/label.rb, line 30
def emit_error_event(tag, time, record, e)
  @root_agent.emit_error_event(tag, time, record, e)
end
handle_emits_error(tag, es, e) click to toggle source
# File lib/fluent/label.rb, line 34
def handle_emits_error(tag, es, e)
  @root_agent.handle_emits_error(tag, es, e)
end