Method: Fluent::Test::Driver::BaseOwner#initialize

Defined in:
lib/fluent/test/driver/base_owner.rb

#initialize(klass, opts: {}, &block) ⇒ BaseOwner



24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/fluent/test/driver/base_owner.rb', line 24

def initialize(klass, opts: {}, &block)
  super

  if opts
    @instance.system_config_override(opts)
  end
  @instance.log = TestLogger.new
  @logs = @instance.log.out.logs

  @event_streams = nil
  @error_events = nil
end