class Logger

def warn!; self.level = WARN; end


See {Log Level}[rdoc-ref:Logger@Log+Level].
Sets the log level to Logger::WARN.
def warn!; self.level = WARN; end