Title: WP Logger
Author: iTRON
Published: <strong>2, Setiembre de 2018</strong>
Last modified: 1, Avientu de 2025

---

Guetar plugins

![](https://ps.w.org/wp-data-logger/assets/icon-128x128.png?rev=1934745)

# WP Logger

 By [iTRON](https://profiles.wordpress.org/hokku/)

[Download](https://downloads.wordpress.org/plugin/wp-data-logger.2.4.zip)

 * [Details](https://ast.wordpress.org/plugins/wp-data-logger/#description)
 * [Reviews](https://ast.wordpress.org/plugins/wp-data-logger/#reviews)
 *  [Installation](https://ast.wordpress.org/plugins/wp-data-logger/#installation)
 * [Development](https://ast.wordpress.org/plugins/wp-data-logger/#developers)

 [Support](https://wordpress.org/support/plugin/wp-data-logger/)

## Description

 1. Insert the hook `do_action( 'logger', $data );` in your code
 2. Go to **Tools > WP Logger**

#### Additional buttons

Use the `wpdl_add_button( string $name, callable $clb, string $btnClass = '' )` 
function to add a button to the logger page.

 * **$name** text for the button;
 * **$clb** callback function;
 * **$btnClass** class for the button (optional).

Click on the button to execute the function via WP-AJAX. If an Exception or Error
occurs, it will be logged as well.

#### Hooks:

 * wp_logger_button_panel
 * wp_logger_inline_css
 * wp_logger_inline_js
 * wp_data_logger_print_data

#### Available constants:

 * WPDL_DISPLAY_LIMIT

[GitHub](https://github.com/hokoo/logger-u7)

## Screenshots

 * [[
 * Logger page

## Installation

 1. Upload the plugin to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Insert the hook `do_action( 'logger', $data );` in your code.
 4. Go to **Tools > WP Logger**.

## Reviews

![](https://secure.gravatar.com/avatar/6fac1312c87d9c19f910a166d6796c62ed92f154a742ba3f99831f56a11a157c?
s=60&d=retro&r=g)

### 󠀁[Great Logging Tool](https://wordpress.org/support/topic/great-logging-tool/)󠁿

 [tezalsec](https://profiles.wordpress.org/tezalsec/) 23, Abril de 2025

Thanks for picking it up again!

![](https://secure.gravatar.com/avatar/d76f057311cfadf5ffa3fa47990365cf1dd6442b77d22b75dd4c50c903df90b7?
s=60&d=retro&r=g)

### 󠀁[Greate plugin, spot on](https://wordpress.org/support/topic/greate-plugin-spot-on/)󠁿

 [guyeshet](https://profiles.wordpress.org/guyeshet/) 10, Febreru de 2021

Thanks, guys, exactly what I needed, and it works great!

![](https://secure.gravatar.com/avatar/7722ce63504959e752c22ebb8201177f5fec15dfada009811c69c7afabfff9da?
s=60&d=retro&r=g)

### 󠀁[Log for developers](https://wordpress.org/support/topic/log-for-developers/)󠁿

 [Dima Minka](https://profiles.wordpress.org/cdk-comp/) 4, Setiembre de 2018

Thx for this plugin, the logging very important for us, and we happy to use your
plugin with our team.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/wp-data-logger/reviews/)

## Contributors & Developers

“WP Logger” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ iTRON ](https://profiles.wordpress.org/hokku/)
 *   [ wpcraft ](https://profiles.wordpress.org/casepress/)

[Translate “WP Logger” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-data-logger)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-data-logger/), check
out the [SVN repository](https://plugins.svn.wordpress.org/wp-data-logger/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-data-logger/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-data-logger/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.4

 * Fix Uncaught Exception: Serialization of ‘Closure’ is not allowed when creating
   button with closure callback.

#### 2.3

 * Custom button adding function introduced.
 * PHP min version changed to 7.1.

#### 2.2.1

 * Nonce verification for ajax queries.
 * PayPal link updated.
 * Plugin tags updated.

#### 2.2

 * Clear log vulnerability fixed.

#### 2.1

 * The output of the data got escaped.

#### 2.0.2

 * Suppress DB errors while the data insert

#### 2.0.1

 * bug fixed

#### 2.0

 * Logged data was moved to custom table in DB
 * WPDL_DISPLAY_LIMIT
 * Hidding/showing rows

#### 1.4

 * Added types of data

#### 1.2

 * Init commit

## Meta

 *  Version **2.4**
 *  Last updated **4 meses ago**
 *  Active installations **300+**
 *  WordPress version ** 3.5 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.1 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-data-logger/)
 * Tags
 * [data](https://ast.wordpress.org/plugins/tags/data/)[debug](https://ast.wordpress.org/plugins/tags/debug/)
   [develop](https://ast.wordpress.org/plugins/tags/develop/)[log](https://ast.wordpress.org/plugins/tags/log/)
   [logger](https://ast.wordpress.org/plugins/tags/logger/)
 *  [Advanced View](https://ast.wordpress.org/plugins/wp-data-logger/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/wp-data-logger/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-data-logger/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-data-logger/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-data-logger/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-data-logger/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-data-logger/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-data-logger/reviews/)

## Contributors

 *   [ iTRON ](https://profiles.wordpress.org/hokku/)
 *   [ wpcraft ](https://profiles.wordpress.org/casepress/)

## Support

Issues resolved in last two months:

     1 out of 1

 [View support forum](https://wordpress.org/support/plugin/wp-data-logger/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.me/igortron)