lib/sandi_meter/logger.rb in sandi_meter-1.1.8 vs lib/sandi_meter/logger.rb in sandi_meter-1.2.0
- old
+ new
@@ -1,10 +1,10 @@
require 'fileutils'
module SandiMeter
class Logger < Struct.new(:data)
def log!(path)
- File.open(File.join(path, 'sandi_meter', 'sandi_meter.log'), 'a') do |file|
+ File.open(File.join(path, 'sandi_meter.log'), 'a') do |file|
file.puts(log_line)
end
end
private