略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: swoole_error_log

2024-12-22

swoole_error_log

(PECL swoole >= 4.5.8)

swoole_error_logOutput error messages to the log

说明

swoole_error_log(int $level, string $msg): void

Output error messages to the log.

参数

level

Log Level, constants can be used: SWOOLE_LOG_DEBUG, SWOOLE_LOG_TRACE, SWOOLE_LOG_INFO, SWOOLE_LOG_NOTICE, SWOOLE_LOG_WARNING, SWOOLE_LOG_ERROR, SWOOLE_LOG_NONE

msg

Message content to be written to the log.

返回值

没有返回值。

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.swoole-error-log.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3