Sha256: d3cea0be5fdea956ba23fb601b8f358569d2f17f52ecda0dc3bbaad5df1f9b58

Contents?: true

Size: 205 Bytes

Versions: 1

Compression:

Stored size: 205 Bytes

Contents

module Semaphore
  def self.log(message)
    error_log_path = ENV["ERROR_LOG_PATH"] || "#{ENV["HOME"]}/test_booster_error.log"

    File.open(error_log_path, "a") { |f| f.write("#{message}\n") }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
semaphore_test_boosters-0.3.0 lib/test_boosters/logger.rb