lib/knapsack_pro/config/env.rb in knapsack_pro-0.30.0 vs lib/knapsack_pro/config/env.rb in knapsack_pro-0.31.0

- old
+ new

@@ -146,13 +146,15 @@ value end def log_level { - 'debug' => ::Logger::DEBUG, - 'info' => ::Logger::INFO, + 'fatal' => ::Logger::FATAL, + 'error' => ::Logger::ERROR, 'warn' => ::Logger::WARN, - }[ENV['KNAPSACK_PRO_LOG_LEVEL']] || ::Logger::INFO + 'info' => ::Logger::INFO, + 'debug' => ::Logger::DEBUG, + }[ENV['KNAPSACK_PRO_LOG_LEVEL'].to_s.downcase] || ::Logger::DEBUG end private def required_env(env_name)