Method: Puppet::Parameter#log

Defined in:
lib/puppet/parameter.rb

#log(msg) ⇒ void

TODO:

is loglevel a metaparameter? it is looked up with resource[:loglevel]

This method returns an undefined value.

Writes the given msg to the log with the loglevel indicated by the associated resource’s loglevel parameter.



362
363
364
# File 'lib/puppet/parameter.rb', line 362

def log(msg)
  send_log(resource[:loglevel], msg)
end