library socketlog
debug tool for api , ajax,wechat ,v2.2
jason-gao/socketlog
debug tool for api , ajax,wechat ,v2.2
- PHP
- 0 Dependents
- 0 Suggesters
- 260 Forks
- 0 Open issues
- 5 Versions
- 0 % Grown
说明
-
readme: https://github.com/luofei614/SocketLog, (*1)
-
composer require "jason-gao/socketlog:v2.2.2", (*2)
-
2种方法使用slog, (*3)
require __ROOT__.'/vendor/autoload.php';
\SocketLog\Slog::config(array(
'host'=>'192.168.5.188',//websocket服务器地址,默认localhost
'optimize'=>true,//是否显示利于优化的参数,如果运行时间,消耗内存等,默认为false
'show_included_files'=>true,//是否显示本次程序运行加载了哪些文件,默认为false
'error_handler'=>true,//是否接管程序错误,将程序错误显示在console中,默认为false
'force_client_id'=>'',//日志强制记录到配置的client_id,默认为空
'allow_client_ids'=>array(123)//限制允许读取日志的client_id,默认为空,表示所有人都可以获得日志。
));
slog(array(
'host'=>'192.168.5.188',//websocket服务器地址,默认localhost
'optimize'=>true,//是否显示利于优化的参数,如果运行时间,消耗内存等,默认为false
'show_included_files'=>true,//是否显示本次程序运行加载了哪些文件,默认为false
'error_handler'=>true,//是否接管程序错误,将程序错误显示在console中,默认为false
'force_client_id'=>'',//日志强制记录到配置的client_id,默认为空
'allow_client_ids'=>array(123)//限制允许读取日志的client_id,默认为空,表示所有人都可以获得日志。
),'config');
dev-master
9999999-dev
debug tool for api , ajax,wechat ,v2.2
Sources
Download
MIT
The Requires
api
socketlog
slog
v2.2.3
2.2.3.0
debug tool for api , ajax,wechat ,v2.2
Sources
Download
MIT
The Requires
api
socketlog
slog
v2.2.2
2.2.2.0
debug tool for api , ajax,wechat ,v2.2
Sources
Download
MIT
The Requires
api
socketlog
slog
v2.2.1
2.2.1.0
debug tool for api , ajax,wechat ,v2.2
Sources
Download
MIT
The Requires
api
socketlog
slog
2.2.0
2.2.0.0
debug tool for api , ajax,wechat
Sources
Download
MIT
The Requires
by
luofei
api
socketlog
slog