|
 | This document is a stub
This document is a stub, and requires more information and updating. See the discussion in the Chef Mailing List that led to its creation in the current state.
As approaches/solutions are developed, they should be added to this page. |
Mixlib::Log provides a mixin for enabling a class based logger object, a-la Merb, Chef, and Nanite. To use it:
You can then do:
By default, Mixlib::Logger logs to STDOUT. To alter this, you should call Log.init, passing any arguments to the standard Ruby Logger.
For example:
|
|