WP Manifestindependent plugin directory
manifest / developer / devlogs

Dev Logs

A post-type Logger/debugger

★ 1stars

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/jtsternberg/devlogs/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A post-type Logger/debugger

Useful when server-side logs are unreliable (due to server load balancing, etc).

Usage

Add hooks like the following to your code to implement logging:

add_action( 'current_screen', function( $screen ) {
   do_action( 'logDebugContent', 'debugging-screen', current_filter() . ':' . __LINE__, get_defined_vars() );
} );

Viewing logs

Post-type url: <admin_url>/edit.php?post_type=devlogs

Screenshot