[chef] Using the 'log' resource vs Chef::Log.


Chronological Thread 
  • From: Mike < >
  • To: " " < >
  • Subject: [chef] Using the 'log' resource vs Chef::Log.<loglevel>
  • Date: Mon, 8 Jul 2013 11:30:44 -0400

Ohai,

I am trying to understand the differences between:

    log 'Here's a log line'

and:

    Chef::Log.info 'Here's another log line'

from a Chef internals perspective.

Can anyone shed any pros/cons of either?

Thanks,
-M



Archive powered by MHonArc 2.6.16.

§