logging to file fails
Brought to you by:
jvarszegi
The logging to a file fails when a buffered
compositelogger uses a non buffered filelogger. The Write
(Event[] events, int length) method cannot create a
streamwriter because there is already a streamwriter
created for the file by the open method. This
streamwriter should be closed in the Write function. I
have attached an updated FileLogger.cs file. I also
removed the eventFormatter.Suffix = "\n" line in the
constructor because this produces faulty output if you
open the generated file with notepad.
Fixed filelogger.cs
Logged In: NO
True.