Method: Puppet::Util::Log.flush

Defined in:
lib/puppet/util/log.rb

.flushObject

Flush any log destinations that support such operations.



71
72
73
74
75
# File 'lib/puppet/util/log.rb', line 71

def Log.flush
  @destinations.each { |_type, dest|
    dest.flush if dest.respond_to?(:flush)
  }
end