def init(*opts)
      reset!
      @logger = logger_for(*opts)
      @logger.formatter = Mixlib::Log::Formatter.new() if @logger.respond_to?(:formatter=)
      @logger.level = Logger::WARN
      @configured = true
      @parent = nil
      @metadata = {}
      @logger
    end
def init(*opts)
      reset!
      @logger = logger_for(*opts)
      @logger.formatter = Mixlib::Log::Formatter.new() if @logger.respond_to?(:formatter=)
      @logger.level = Logger::WARN
      @configured = true
      @parent = nil
      @metadata = {}
      @logger
    end
Use Mixlib::Log.init when you want to set up the logger manually.  Arguments to this method
 get passed directly to Logger.new, so check out the documentation for the standard Logger class
 to understand what to do here.

 If this method is called with no arguments, it will log to STDOUT at the :warn level.

 It also configures the Logger instance it creates to use the custom Mixlib::Log::Formatter class.