lib/clacks/configurator.rb
def logger(obj)
      %w(debug info warn error fatal level).each do |m|
        next if obj.respond_to?(m)
        raise ArgumentError, "logger #{obj} does not respond to method #{m}"
      end
      map[:logger] = obj
    end
def logger(obj)
      %w(debug info warn error fatal level).each do |m|
        next if obj.respond_to?(m)
        raise ArgumentError, "logger #{obj} does not respond to method #{m}"
      end
      map[:logger] = obj
    end
Sets the Logger-like object.
 The default Logger will log its output to Rails.logger if
 you're running within a rails environment, otherwise it will
 output to the path specified by +stdout_path+.