« swoole_errno
swoole_event_add »

swoole_error_log

(PECL swoole >= 4.5.8)

swoole_error_log — Output error messages to the log

説明

function 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.

戻り値

値を返しません。

関連キーワード:
swoole   Output   messages   level   errno   event   Swoole   Level   constants   used   Message   content   written
関連する関数・ページ:
function.swoole-strerror   function.swoole-cpu-num   function.swoole-load-module   function.swoole-version   function.swoole-event-write   function.swoole-errno