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