log.php 可添加 'json' \=> 1 表示json格式 trace("日志信息") app.php中 'app\_trace' \=> true, trace.php改为默认html 'type' \=> 'Console',