Method: Codacy::Configuration.logger_to_file
- Defined in:
- lib/codacy/configuration.rb
.logger_to_file ⇒ Object
23 24 25 26 27 |
# File 'lib/codacy/configuration.rb', line 23 def self.logger_to_file log_file_path = self.temp_dir + self.log_file_name log_file = File.open(log_file_path, 'a') Logger.new(log_file) end |