require 'puppet'

Puppet::Network::Handler.report.newreport(:log) do
    desc "Send all received logs to the local log destinations.  Usually
        the log destination is syslog."

    def process
        self.logs.each do |log|
            Puppet::Util::Log.newmessage(log)
        end
    end
end

# $Id: log.rb 2367 2007-03-29 18:22:24Z luke $


syntax highlighted by Code2HTML, v. 0.9.1