class Fluent::Label

def configure(conf)

def configure(conf)
  super
  if conf.elements('match').size == 0
    raise ConfigError, "Missing <match> sections in <label #{@context}> section"
  end
end

def emit_error_event(tag, time, record, e)

def emit_error_event(tag, time, record, e)
  @root_agent.emit_error_event(tag, time, record, e)
end

def handle_emits_error(tag, es, e)

def handle_emits_error(tag, es, e)
  @root_agent.handle_emits_error(tag, es, e)
end

def initialize(name, log:)

def initialize(name, log:)
  super(log: log)
  @context = name
  @root_agent = nil
end