summaryrefslogtreecommitdiffstats
path: root/lib/puppet/client/log.rb
blob: e20c0532c92fcb8bf211c686c8fa2ddd315d7f5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Puppet::Client::LogClient < Puppet::Client::ProxyClient
    @drivername = :Logger

    # set up the appropriate interface methods
    @handler = Puppet::Server::Logger
    self.mkmethods

    def initialize(hash = {})
        if hash.include?(:Logger)
            hash[:Logger] = Puppet::Server::Logger.new()
        end

        super(hash)
    end
end

# $Id$