[fpc-devel] TCustomApplication.Log(?)

Michael Van Canneyt michael at freepascal.org
Wed Feb 17 09:37:44 CET 2010

On Wed, 17 Feb 2010, Graeme Geldenhuys wrote:

> Michael Schnell wrote:
>> Of course the logging functions would need to be thread-safe !
> This is another issue I wanted to raise about TEventLog.
> * Is it thread safe?  At first glance I can't see that it is.

It's only not safe when writing to a file.

> * When loging to file, no cached loging is used, so this will
>  seriously slow down your application. If you debug something
>  like the Visitor pattern, you generate a huge about of log
>  entries.

This can be remedied easily.


More information about the fpc-devel mailing list