openlog
bool openlog(string ident, int option, int facility)
ident | String to be prepended to the log message(s) |
option | Integer flag representing one or more options |
facility | Integer flag representing the type of program logging the error message(s) |
Opens a connection to the system logger.
Returns:
TRUE
Description:
openlog() opens a connection to the system logger. On UNIX-like systems, this is generally syslogd (run man syslogd for more information). On the Windows family of operating systems, this is the event log. Not all flavors of the Windows operating systems have the event log facility—see your system’s help files and manual for more information.
Use of this function is optional. PHP automatically opens a connection to the system ...
Get PHP Functions Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.