lib/prefab/internal_logger.rb in prefab-cloud-ruby-1.8.0 vs lib/prefab/internal_logger.rb in prefab-cloud-ruby-1.8.1

- old
+ new

@@ -1,9 +1,10 @@ module Prefab class InternalLogger < SemanticLogger::Logger def initialize(klass) - super(klass, :warn) + default_level = ENV['PREFAB_LOG_CLIENT_BOOTSTRAP_LOG_LEVEL'] ? ENV['PREFAB_LOG_CLIENT_BOOTSTRAP_LOG_LEVEL'].downcase.to_sym : :warn + super(klass, default_level) instances << self end def log(log, message = nil, progname = nil, &block) return if recurse_check[local_log_id]