WP Manifestindependent plugin directory
manifest / developer / m-logger

M-Logger

WordPress plugin for logging PHP variables

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/maximmas/m-logger/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

M-Logger - WordPress PHP logging Plugin

Contributor: maximmas Tags: php, development, wordpress Requires at least: 4.0 Tested up to: 4.9 Requires PHP: 5.2.17 License: GPLv2

Description

M-Logger plugin allows to check PHP variables values during WordPress development process. For example, if you need to check value of the $data variable, write follow code:

do_action( 'm-logger', $data, 'label' );

there are 'm-logger' is a name of the hook, $data is a traced variable, 'label' - a label for this variable.

Label is necessary because this action may be used to trace different variables at the same time.

Result will be output in the log.txt file located in the plugin directory.