diff options
-rw-r--r-- | lib/logger.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/logger.rb b/lib/logger.rb index 5dc108f567..8be1c26664 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -268,17 +268,17 @@ class Logger @level = severity else case severity.to_s.downcase - when 'debug'.freeze + when 'debug' @level = DEBUG - when 'info'.freeze + when 'info' @level = INFO - when 'warn'.freeze + when 'warn' @level = WARN - when 'error'.freeze + when 'error' @level = ERROR - when 'fatal'.freeze + when 'fatal' @level = FATAL - when 'unknown'.freeze + when 'unknown' @level = UNKNOWN else raise ArgumentError, "invalid log level: #{severity}" |