Syslog functions

Author Topic: Syslog functions  (Read 5098 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • We Helpline
Syslog functions
« on: 12-24-2015, 00:45:38 »
The syslog functions allow you to open the system log for a program, generate a message,and close it again.

✦ openlog([ident], option, facility) is entirely optional when used with syslog().The ident value is generated automatically.
✦ syslog(priority, message) generates a system log entry.
✦ closelog() is entirely optional when used with syslog(). It takes no arguments.


Offline TomClarke

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 55
  • Posts: 837
  • Karma: 0
  • Gender: Male
    • Custom Writing Service & Content Marketplace
Re: Syslog functions
« Reply #1 on: 05-14-2016, 02:20:24 »
Quote
bool syslog ( int $priority , string $message )

syslog generate a system log message. it generates a log message  that will be distributed by the system logger.
For information on setting up a user defined log handler, see the syslog.conf (5) Unix manual page. And more information ofn the syslog facilities and option can be found in the manpaged for syslog (3) on Unix machines.
Your ideas, our writings - Writology.com

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2102 Views
Last post 12-24-2015, 00:40:20
by chinmay.sahoo
1 Replies
3919 Views
Last post 05-14-2016, 01:55:23
by TomClarke
0 Replies
1225 Views
Last post 12-28-2015, 00:16:17
by chinmay.sahoo
0 Replies
1112 Views
Last post 12-28-2016, 00:47:12
by chinmay.sahoo
0 Replies
887 Views
Last post 12-26-2017, 02:30:08
by xiaolanzhuji