lib/wcc/utils.rb in danger-wcc-0.0.5 vs lib/wcc/utils.rb in danger-wcc-0.0.6
- old
+ new
@@ -10,9 +10,10 @@
@plugin || self
end
def logger
return @logger if @logger
+
@logger = Logger.new(STDERR)
@logger.level = ENV['DANGER_LOG_LEVEL'] ||
(plugin.verbose ? Logger::INFO : Logger::ERROR)
@logger
end