Sha256: e4f49bc5054cf55713091c0a7652776e60de65cd6c60af1f3ab97a32efafcb3b

Contents?: true

Size: 403 Bytes

Versions: 9

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

require 'forwardable'

module Gitlab
  module QA
    module Runtime
      class Logger
        extend SingleForwardable

        def_delegators :logger, :debug, :info, :warn, :error, :fatal, :unknown

        def self.logger
          @logger ||= QA::TestLogger.logger(level: Runtime::Env.debug? ? ::Logger::DEBUG : ::Logger::INFO)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gitlab-qa-7.27.2 lib/gitlab/qa/runtime/logger.rb
gitlab-qa-7.27.1 lib/gitlab/qa/runtime/logger.rb
gitlab-qa-7.27.0 lib/gitlab/qa/runtime/logger.rb
gitlab-qa-7.26.0 lib/gitlab/qa/runtime/logger.rb
gitlab-qa-7.25.1 lib/gitlab/qa/runtime/logger.rb
gitlab-qa-7.25.0 lib/gitlab/qa/runtime/logger.rb
gitlab-qa-7.24.6 lib/gitlab/qa/runtime/logger.rb
gitlab-qa-7.24.5 lib/gitlab/qa/runtime/logger.rb
gitlab-qa-7.24.4 lib/gitlab/qa/runtime/logger.rb