[Lazarus] DebugLn thread safety

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Mar 30 09:53:57 CEST 2011


On 30/03/2011 09:43, michael.vancanneyt at wisa.be wrote:
>
> I would not recommend using it, because this component hijacks the
> command-line options.

No it doesn't! Why do you say that?

Yes there is a convenience unit that automatically registers the various 
log output targets (the unit is located in GUI/tiLogReg.pas), but that 
unit is purely optional because it pulls in GUI dependencies (log to 
gui). That unit is not included by default in any tiOPF package (*.lpk) 
files.


In all our project we manually register and integrate the tiLogXXX units 
with our custom command line handling code. We have never used the 
tiLogReg unit.



Regards,
   - Graeme -

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





More information about the Lazarus mailing list