Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 FileLogger always missing latest Event

v1.1
open
nobody
5
2004-01-21
2004-01-21
Jaime Smith
No

It seems that the FileLogger is always one event behind
until it is "Close()"d even with IsBufferingEnabled set to
false. For example, I Log a message whenever I click a
menu option. If I only ever click one menu option, the
message is never actually written to my file until I close
my application (which Closes the FileLogger). As soon
as I click the second menu option, the first event is
written to the log, but the second event is stored until I
close the app. The logger is always one event behind.

Discussion