Module: TestBoosters::Logger
- Defined in:
- lib/test_boosters/logger.rb
Class Method Summary collapse
- .error(message) ⇒ Object
-
.info(message) ⇒ Object
TODO: why are we logging info messages into the error log?.
Class Method Details
.error(message) ⇒ Object
12 13 14 15 16 |
# File 'lib/test_boosters/logger.rb', line 12 def error() error_log_path = ENV["ERROR_LOG_PATH"] || "#{ENV["HOME"]}/test_booster_error.log" File.open(error_log_path, "a") { |file| file.write("#{}\n") } end |
.info(message) ⇒ Object
TODO: why are we logging info messages into the error log?
6 7 8 9 10 |
# File 'lib/test_boosters/logger.rb', line 6 def info() error_log_path = ENV["ERROR_LOG_PATH"] || "#{ENV["HOME"]}/test_booster_error.log" File.open(error_log_path, "a") { |file| file.write("#{}\n") } end |