Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aiiddqd/logger-u7
Data logging for debugging complex code for WordPress by @uptimizt
https://github.com/aiiddqd/logger-u7
debug debugger debugging logger logging wordpress
Last synced: about 7 hours ago
JSON representation
Data logging for debugging complex code for WordPress by @uptimizt
- Host: GitHub
- URL: https://github.com/aiiddqd/logger-u7
- Owner: aiiddqd
- Created: 2017-11-26T13:40:01.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-24T08:02:44.000Z (about 6 years ago)
- Last Synced: 2024-05-10T18:28:42.709Z (8 months ago)
- Topics: debug, debugger, debugging, logger, logging, wordpress
- Language: PHP
- Homepage: https://github.com/uptimizt/logger-u7
- Size: 24.4 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Logger U7
Logging a data for debug code in WordPress
For adding data in log use hook:
## Simple example
```
$var_data = 'test';
do_action("logger_u7", $var_data);
```or
```
$var_data = 'test';
do_action("cl", $var_data); //shorten
```## Example with multiple var for log and labels
```
$var_data1 = 'test1';
do_action("logger_u7", ['tag1', $var_data1]);$var_data2 = 'test2';
do_action("logger_u7", ['tag2', $var_data2]);
```## How get debug data?
After debug data can view log in admin: Tools / Logger
## Changelog
= 1.3 =
* Добавлена кнопка очистки данных
* Добавлена дополнительная колонка со счетчиком по порядку
* Обновлена функция вывода данных
* Добавлено удаление данных при удалении плагина= 1.2 =
* Init commit