lib/lambda_punch/logger.rb in lambda_punch-0.0.5 vs lib/lambda_punch/logger.rb in lambda_punch-0.0.6

- old
+ new

@@ -14,11 +14,11 @@ end private def level - l = (@level || ENV['LAMBDA_PUNCH_LOG_LEVEL'] || 'fatal').upcase.to_sym - ::Logger.const_defined?(l) ? ::Logger.const_get(l) : ::Logger::FATAL + l = (@level || ENV['LAMBDA_PUNCH_LOG_LEVEL'] || 'error').upcase.to_sym + ::Logger.const_defined?(l) ? ::Logger.const_get(l) : ::Logger::ERROR end end end