Sha256: a0b01498813fd2c1be09850cdf39e1dd18c84765ab252c44b57aed11304ca7e3
Contents?: true
Size: 379 Bytes
Versions: 7
Compression:
Stored size: 379 Bytes
Contents
require 'puppet/resource_api/base_context' require 'puppet/util/logging' class Puppet::ResourceApi::PuppetContext < Puppet::ResourceApi::BaseContext # declare a separate class to encapsulate Puppet's logging facilities class PuppetLogger extend Puppet::Util::Logging end protected def send_log(level, message) PuppetLogger.send_log(level, message) end end
Version data entries
7 entries across 7 versions & 1 rubygems