It's better to use the TEventLog component. It is cross-platform, and writes to syslog on linux. The eventlog unit is in the FPC sources, and I think the component palette contains the TeventLog component.
Michael. On Fri, 1 Oct 2010, Frank Church wrote:
when I seach google for syslog in Lazarus, I come across this page - http://www.freepascal.org/packages/syslog.html - with this content, but the code and the examples don't exist. Have they been removed? ============== syslog Syslog package The systemlog contains a translation of the (linux) C system log interface. It contains routines to add system logging to your application, and links to the C library for the implementation of these routines. (View interface) There is an example called testlog which shows how the unit should be used. ============== -- Frank Church ======================= http://devblog.brahmancreations.com
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
