Sha256: 84dc1aeeca1268c8b895b42e67d75739745234374c966c8ef092d901575dbd56
Contents?: true
Size: 393 Bytes
Versions: 24
Compression:
Stored size: 393 Bytes
Contents
module DeepTest class Logger < ::Logger def initialize(*args) super self.formatter = proc { |severity, time, progname, msg| "[DeepTest] #{msg}\n" } self.level = configured_log_level end def configured_log_level if ENV['DEEP_TEST_LOG_LEVEL'] Logger.const_get(ENV['DEEP_TEST_LOG_LEVEL']) else Logger::INFO end end end end
Version data entries
24 entries across 24 versions & 4 rubygems