def level=(val)
      if val.is_a?(Integer)
        val = Logger::SEV_LABEL.fetch(val).
          downcase.to_sym
      end

      @logger.writer.level = val
    end
def level=(val)
      if val.is_a?(Integer)
        val = Logger::SEV_LABEL.fetch(val).
          downcase.to_sym
      end

      @logger.writer.level = val
    end
--
 @return [Jekyll::LogWrapper]
 @param logger [Jekyll::Logger] the logger
 Initialize a new instance.
 --
 --
 @return [Symbol] because that's what Jekyll does.
 Wraps around Jekyll's handling of log levels to translate
   numbers into what they expect (:symbols) so that your
   logger behaves as expected.
 --