PHP 8.5.0 Beta 2 available for testing

swoole_error_log

(PECL swoole >= 4.5.8)

swoole_error_logOutput error messages to the log

Description

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

Output error messages to the log.

Parameters

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.

Return Values

No value is returned.

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /