Syslog functions

Author Topic: Syslog functions  (Read 1486 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 153
  • Karma: 0
    • No Addiction
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 17
  • Posts: 897
  • 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
1021 Views
Last post 12-24-2015, 00:40:20
by chinmay.sahoo
1 Replies
1260 Views
Last post 05-14-2016, 01:55:23
by TomClarke
0 Replies
554 Views
Last post 12-28-2015, 00:16:17
by chinmay.sahoo
1 Replies
1041 Views
Last post 04-27-2016, 04:51:59
by TomClarke
0 Replies
214 Views
Last post 12-28-2016, 00:47:12
by chinmay.sahoo