phpday 2027 - Call for Papers

swoole_error_log

(PECL swoole >= 4.5.8)

swoole_error_log — Output error messages to the log

Açıklama

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

Output error messages to the log.

Bağımsız Değişkenler

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.

Dönen Değerler

Hiçbir değer dönmez.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top