mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
由于trace无法记录异常,Socket trace调试仍然更改为日志驱动
This commit is contained in:
@@ -9,9 +9,7 @@
|
||||
// | Author: luofei614 <weibo.com/luofei614>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace think\debug;
|
||||
|
||||
use think\Response;
|
||||
namespace think\log\driver;
|
||||
|
||||
/**
|
||||
* github: https://github.com/luofei614/SocketLog
|
||||
@@ -57,11 +55,10 @@ class Socket
|
||||
/**
|
||||
* 调试输出接口
|
||||
* @access public
|
||||
* @param Response $response Response对象
|
||||
* @param array $log 日志信息
|
||||
* @return bool
|
||||
*/
|
||||
public function output(Response $response, array $log = [])
|
||||
public function save(array $log = [])
|
||||
{
|
||||
if (!$this->check()) {
|
||||
return false;
|
||||
Reference in New Issue
Block a user