Sha256: 56a97f28e78d814fd4766e5d1bad8d12abcc87a1fc4e9f7b29f6b89da031d2fb
Contents?: true
Size: 534 Bytes
Versions: 50
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true require 'forwardable' require 'fileutils' module Gitlab module QA module Runtime class Logger extend SingleForwardable def_delegators :logger, :debug, :info, :warn, :error, :fatal, :unknown def self.logger @logger ||= begin log_path = Env.log_path ::FileUtils.mkdir_p(log_path) unless File.exist?(log_path) TestLogger.logger(level: Env.log_level, path: log_path) end end end end end end
Version data entries
50 entries across 50 versions & 1 rubygems