log_level

设置swoole_server错误日志打印的等级,范围是0-5。低于log_level设置的日志信息不会抛出。

$serv->set(array(
    'log_level' => 1,
));

级别对应

*默认是0 也就是所有级别都打印