|
PHP5中文手册
syslog(PHP 4, PHP 5) syslog — Generate a system log message 说明
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 (3) on Unix machines. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 Using syslog()
<?php 注释On Windows NT, the syslog service is emulated using the Event Log.
|