openlog

openlog

(PHP 4, PHP 5, PHP 7)

openlogOpen connection to system logger

Description

bool openlog ( string $ident , int $option , int $facility )

openlog() opens a connection to the system logger for a program.

The use of openlog() is optional. It will automatically be called by syslog() if necessary, in which case ident will default to FALSE.