lib/sifttter_redux/cli_message.rb in sifttter-redux-0.5.1 vs lib/sifttter_redux/cli_message.rb in sifttter-redux-0.5.2
- old
+ new
@@ -106,9 +106,10 @@
'WARN' => Logger::WARN,
'ERROR' => Logger::ERROR,
'FATAL' => Logger::FATAL,
'UNKNOWN' => Logger::UNKNOWN
}
+
def self.log_level(level)
@@logger.level = LOG_LEVELS[level] if LOG_LEVELS.key?(level)
end
# ----------------------------------------------------