On Tue, 2019-02-12 at 17:36 +0100, Sven Barth via fpc-pascal wrote: > Not every LazLogger user knows that their code is run in a thread. And not > every thread user knows that the code they are using is using LazLogger in > turn.
Ok. But if used that way, would LazLogger need to notice at all? As I understand it the use case will be to discriminate and not mix up the log entries from different threads. If the user does not want this at all, why bother inside the logger code? I can imagine race conditions or misplaced log lines. If used in debugging code this is mostly irrelevant, imho... -- Marc Santhoff <m.santh...@web.de> _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal