lib/percy/logger.rb in percy-common-3.0.2 vs lib/percy/logger.rb in percy-common-3.1.0

- old
+ new

@@ -1,9 +1,10 @@ require 'logger' module Percy def self.logger return @logger if defined?(@logger) + @logger ||= Logger.new(STDOUT) @logger.level = Logger::INFO if ENV['PERCY_ENV'] == 'production' @logger.formatter = proc do |severity, _datetime, _progname, msg| "[#{severity}] #{msg}\n" end