Class: Puppet::Test::LogCollector

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/util/log/destinations.rb

Instance Method Summary collapse

Constructor Details

#initialize(logs) ⇒ LogCollector

Returns a new instance of LogCollector.



186
187
188
# File 'lib/puppet/util/log/destinations.rb', line 186

def initialize(logs)
  @logs = logs
end

Instance Method Details

#<<(value) ⇒ Object



190
191
192
# File 'lib/puppet/util/log/destinations.rb', line 190

def <<(value)
  @logs << value
end