在线文档教程
PHP
联网 | Networking

closelog

closelog

(PHP 4, PHP 5, PHP 7)

closelog — Close connection to system logger

Description

bool closelog ( void )

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

← checkdnsrr

define_syslog_variables →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.closelog.php