Posted Wed, 13 Feb 2013 10:23:02 +0100 in reply to
Nick Sabalausky
Reply
Am 13.02.2013 09:26, schrieb Nick Sabalausky:
I noticed that the log files (as set by setLogFile()) are being opened
for overwrite rather than append. Is that an oversight or is there a
specific reason for that?
If intended, would it make sense to put together a pull request that
adds an optional extra param to setLogFile() to optionally make it
append?
Appending is definitely the intention, setLogFile looks like this:
void setLogFile(string filename, LogLevel min_level = LogLevel.Error)
{
s_logFile = openFile(filename, FileMode.Append);
s_logFileLevel = min_level;
}
On which platform does it overwrite instead?