closelog

(PHP 4, PHP 5, PHP 7)

closelogClose connection to system logger

Description

closelog ( ) : bool

closelog() closes the descriptor being used to write to the system logger. The use of closelog() is optional.

Return Values

Returns true on success or false on failure.

See Also

  • syslog() - Generate a system log message
  • openlog() - Open connection to system logger

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.closelog.php