Sha256: fde9af8f92353aa91a72a3161fcbbc17902cfe790ea081faa7acceb06f8377d2
Contents?: true
Size: 317 Bytes
Versions: 5
Compression:
Stored size: 317 Bytes
Contents
require 'logger' module Percy def self.logger @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 @logger end end
Version data entries
5 entries across 5 versions & 1 rubygems