PHP » PYTHON |
login |
register |
about
|
import syslog syslog.syslog(priority, message) syslog(PHP 4, PHP 5) syslog — Generate 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 (3) on Unix machines. Parameters
Return ValuesReturns TRUE on success or FALSE on failure. Examples
Example #1 Using syslog()
<?php
NotesOn Windows NT, the syslog service is emulated using the Event Log.
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|