PHP » GoLang |
login |
register |
about
|
syslog(PHP 4, PHP 5, PHP 7) 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 Values
Returns 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
|