Method: Puppet::Util::Log::Destination.sethandler
- Defined in:
- lib/vendor/puppet/util/log/destination.rb
.sethandler(&block) ⇒ Object
Set how to handle a message.
40 41 42 |
# File 'lib/vendor/puppet/util/log/destination.rb', line 40 def self.sethandler(&block) define_method(:handle, &block) end |