Commit 52272373 authored by sergio1990's avatar sergio1990

Fixed FileLogger

Instead appending file I use full rewriting
parent 0dc04b8f
......@@ -10,7 +10,7 @@ module BetfairApiNgRails
end
def write(content)
File.open(file_path, 'w') { |file| file.write(content) }
File.open(file_path, 'a') { |file| file.puts(content) }
end
private
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment