syslog

syslog

(PHP 4, PHP 5, PHP 7)

syslogGenerate a system log message

Description

bool syslog ( int $priority , string $message )

syslog() 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. More information on the syslog facilities and option can be found in the man pages for syslog 登录查看完整内容