Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-10

syslog facility in Lazarus

7 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Frank Church

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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101001/266482c9/attachment-0001.html>

Reply by email

Michael Van Canneyt
to Frank Church: when I seach google for syslog in Lazarus, I come across this page -…

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.

Frank Church wrote 24 lines
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

Reply by email

Frank Church
to Frank Church: when I seach google for syslog in Lazarus, I come across this page -…
Frank Church wrote 19 lines
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. ==============

Thanks guys, I am beginning to tell the difference between the FCL and the LCL.

I take it that FCL refers to packages and libraries that are independent of Lazarus, or the windowing or component related part of Lazarus?

Show quoted text 6 lines
-- Frank Church ======================= http://devblog.brahmancreations.com
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101001/e91d6f14/attachment.html>

Reply by email

Sven Barth
to Frank Church
Frank Church wrote 6 lines
Thanks guys, I am beginning to tell the difference between the FCL and the LCL. I take it that FCL refers to packages and libraries that are independent of Lazarus, or the windowing or component related part of Lazarus?

Yes, that's the case.

Regards,
Sven

Reply by email

Michael Van Canneyt
to Frank Church: Thanks guys, I am beginning to tell the difference between the FCL and the LCL. I take it…
Frank Church wrote 26 lines
On 1 October 2010 07:33, 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. > > ============== > > > Thanks guys, I am beginning to tell the difference between the FCL and the LCL. I take it that FCL refers to packages and libraries that are independent of Lazarus, or the windowing or component related part of Lazarus?

Correct. FCL contains only non-visual components.

Michael.

Reply by email

Mattias Gärtner
to Frank Church: Thanks guys, I am beginning to tell the difference between the FCL and the LCL. I take it…

Zitat von Frank Church :

Show quoted text 26 lines
On 1 October 2010 07:33, 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. > > ============== > > > Thanks guys, I am beginning to tell the difference between the FCL and the LCL. I take it that FCL refers to packages and libraries that are independent of Lazarus, or the windowing or component related part of Lazarus?

http://wiki.lazarus.freepascal.org/Overview_of_Free_Pascal_and_Lazarus

Mattias

Reply by email