swoole_error_log
swoole_error_log
Output error messages to the log
void **swoole_error_log** int $level string $msg
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`
msgMessage content to be written to the log.
return.void