Title: WP Logger
Author: iTRON
Published: <strong>2 верасня, 2018</strong>
Last modified: 1 снежня, 2025

---

Пошук плагінаў

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

# WP Logger

 Аўтар: [iTRON](https://profiles.wordpress.org/hokku/)

[Спампаваць](https://downloads.wordpress.org/plugin/wp-data-logger.2.4.zip)

 * [Падрабязнасці](https://bel.wordpress.org/plugins/wp-data-logger/#description)
 * [Водгукі](https://bel.wordpress.org/plugins/wp-data-logger/#reviews)
 *  [Ўсталёўка](https://bel.wordpress.org/plugins/wp-data-logger/#installation)
 * [Распрацоўка](https://bel.wordpress.org/plugins/wp-data-logger/#developers)

 [Падтрымка](https://wordpress.org/support/plugin/wp-data-logger/)

## Апісанне

 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⌉⌊Logger page⌉[

Logger page

## Ўсталёўка

 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**.

## Водгукі

![](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 красавіка, 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 лютага, 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 верасня, 2018

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

 [ Чытаць усе 3 водгукі ](https://wordpress.org/support/plugin/wp-data-logger/reviews/)

## Удзельнікі і распрацоўшчыкі

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

Удзельнікі

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

[Перакласці “WP Logger” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/wp-data-logger)

### Зацікаўлены ў распрацоўцы?

[Праглядзіце код](https://plugins.trac.wordpress.org/browser/wp-data-logger/), праверце
[SVN рэпазітарый](https://plugins.svn.wordpress.org/wp-data-logger/), або падпішыцеся
на [журнал распрацоўкі](https://plugins.trac.wordpress.org/log/wp-data-logger/) 
па [RSS](https://plugins.trac.wordpress.org/log/wp-data-logger/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змяненняў

#### 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

## Мета

 *  Версія **2.4**
 *  Апошняе абнаўленне **8 месяцаў таму**
 *  Актыўных установак **300+**
 *  Версія WordPress ** 3.5 або вышэй **
 *  Правераны да версіі **6.8.6**
 *  Версія PHP ** 7.1 або вышэй **
 *  Мова
 * [English (US)](https://wordpress.org/plugins/wp-data-logger/)
 * Тэгі
 * [data](https://bel.wordpress.org/plugins/tags/data/)[debug](https://bel.wordpress.org/plugins/tags/debug/)
   [develop](https://bel.wordpress.org/plugins/tags/develop/)[log](https://bel.wordpress.org/plugins/tags/log/)
   [logger](https://bel.wordpress.org/plugins/tags/logger/)
 *  [Пашыраны прагляд](https://bel.wordpress.org/plugins/wp-data-logger/advanced/)

## Ацэнкі

 5 з 5 зорак.

 *  [  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/)

## Удзельнікі

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

## Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

 [Перайсці да форуму падтрымкі](https://wordpress.org/support/plugin/wp-data-logger/)

## Падтрымаць

Would you like to support the advancement of this plugin?

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