wpbp/debug
最新稳定版本:1.1.4
Composer 安装命令:
composer require wpbp/debug
包简介
Add your plugin to Query Monitor
关键字:
README 文档
README
This package is a wrapper to Query Monitor for:
- Create a custom alternative panel for log stuff inside Query Monitor
- Add a timer method that use the Query Monitor internals
- Add a method to print in the internal log panel of Query Monitor
Install
composer require wpbp/debug:dev-master
Example
$debug = new WPBP_Debug( __( 'Name of the panel', 'your-textdomain' ) ); $debug->log( __( 'Plugin Loaded', 'your-textdomain' ) ); $debug->qm_log( __( 'Error inside the log panel of Query Monitor', 'your-textdomain' ), 'error' ); $debug->qm_timer( 'profile_that_callback', function () { echo 'I need to be profiled!'; } );
统计信息
- 总下载量: 11.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2016-06-22