Skip to content

Commit

Permalink
Stupid logfile output bug
Browse files Browse the repository at this point in the history
  • Loading branch information
synhershko committed Jul 26, 2012
1 parent f9eda34 commit 587e4c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/NAppUpdate.Framework/Common/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,10 @@ public void Log(Exception exception, string message)

public void Dump(string filePath)
{
using (StreamWriter w = File.CreateText(filePath))
foreach (var logItem in LogItems)
{
using (StreamWriter w = File.CreateText(filePath))
{
w.WriteLine(logItem.ToString());
}
}
}
}
Expand Down

0 comments on commit 587e4c5

Please sign in to comment.