On 09/04/2015 02:38, Donald Ziesig wrote:
Hi All!
LazLogger is quite useful in debugging components, but it would be
much more useful if the output were unbuffered such that lines written
to DebugLn would show in the terminal immediately. Right now, only a
portion of the debug output appears unless I append many dummy
characters to the debug output to flush the output buffer. Otherwise I
can't see all of my output until well after it has been written.
You can look at the units and see if you can add any flushing anywhere.
There is
property LazLogger.CloseLogFileBetweenWrites : Boolean
So in your initialization: LazLogger.CloseLogFileBetweenWrites := True;
might help
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus