[fpc-devel] TCustomApplication.Log(?)

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Feb 17 09:37:30 CET 2010


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.
* 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.

tiOPF solves both of these, so we could steal ideas from there and
implement it inside TEventLog.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list