class Rake::SprocketsTask

def log_level=(level)


t.log_level = :debug
t.log_level = Logger::INFO

Set logger level with constant or symbol.
def log_level=(level)
  if level.is_a?(Integer)
    @logger.level = level
  else
    @logger.level = Logger.const_get(level.to_s.upcase)
  end
end