Sha256: 59891c1b3a447241db8c9d89c8d8157a999e3d12498b291826bb45a3ce66f2a7

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

module Fluent
  require 'fluent/agent'

  class Label < Agent
    def initialize(name, opts = {})
      super(opts)

      @context = name
      @root_agent = nil
    end

    attr_accessor :root_agent

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fluentd-0.12.0.pre.2 lib/fluent/label.rb
fluentd-0.12.0.pre.1 lib/fluent/label.rb