改进Trave调试输出 socket方式支持所有的请求

This commit is contained in:
thinkphp
2016-07-03 14:56:16 +08:00
parent f51c498c9b
commit a322a28f27
4 changed files with 30 additions and 12 deletions

View File

@@ -57,10 +57,11 @@ class Socket
/**
* 调试输出接口
* @access public
* @param array $logs 日志信息
* @param Response $response Response对象
* @param array $log 日志信息
* @return bool
*/
public function output(array $logs = [])
public function output(Response $response, array $log = [])
{
if (!$this->check()) {
return false;