2017 © Pedro Peláez
 

library debug

Add to your plugin the Debug Bar support (work also on Query Monitor)

image

wpbp/debug

Add to your plugin the Debug Bar support (work also on Query Monitor)

  • Friday, November 10, 2017
  • by Mte90
  • Repository
  • 1 Watchers
  • 3 Stars
  • 247 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

Debug

License Downloads, (*1)

This package is a wrapper to Query Monitor for:, (*2)

  • 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, (*3)

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!'; } );

The Versions

10/11 2017

dev-master

9999999-dev https://github.com/WPBP/Debug

Add to your plugin the Debug Bar support (work also on Query Monitor)

  Sources   Download

GPL-3.0

wordpress debug

10/11 2017

1.0.1

1.0.1.0 https://github.com/WPBP/Debug

Add to your plugin the Debug Bar support (work also on Query Monitor)

  Sources   Download

GPL-3.0

wordpress debug

22/06 2016

1.0.0

1.0.0.0 https://github.com/WPBP/Debug

Add to your plugin the Debug Bar support (work also on Query Monitor)

  Sources   Download

GPL-3.0

wordpress debug