Sha256: 1385b9a7969efe9850ab166a4fe21bd599697b21a79a7083f011f8059bba40d5
Contents?: true
Size: 345 Bytes
Versions: 2
Compression:
Stored size: 345 Bytes
Contents
require 'logger' module CucumberAnalytics module Logging class << self def set_log_level(log_level) logger.level = log_level end def logger @logger ||= Logger.new('logfile.log') end def logger=(new_logger) @logger = new_logger end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cucumber_analytics-0.0.6 | lib/cucumber_analytics/logging.rb |
cucumber_analytics-0.0.5 | lib/cucumber_analytics/logging.rb |