Class: Logger
- Inherits:
-
Object
- Object
- Logger
- Defined in:
- lib/puppet/functions/logging.rb
Class Method Summary collapse
Class Method Details
.log(level, message) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/puppet/functions/logging.rb', line 5 def self.log(level, ) = "[ABI] #{}" case level when 'debug' Puppet.debug() when 'info' Puppet.info() when 'warning' Puppet.warning() when 'err' Puppet.err() when 'notice' Puppet.notice() end end |