WordPress plugin intelligence profile

WP Log Action

Add error or debug logging in your code and leave it there. Logs will only be recorded with this plugin, otherwise will be ignored.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version0.54
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 5.3 · PHP —
Directory statusactive
Last directory update6 May 20251y ago
Active installations30Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP Log Action version 0.54 as active, updated 1y ago and tested up to WordPress 6.8.

Overview

About this plugin

This plugin uses hooks in the opposite way most plugins do. You add do_action where you want to do some logging and this plugin will save it to the database only when active.

Log Activity

This plugin now logs plugin activity (when activated, deactivated, deleted, updated, installed), when wordpress is updated, and when functions are used wrong or deprecated.

Example:

' ); ... }

See Tools->Logs to view, delete, and export the logs on the admin side. Only users with the manage_options capability will have access.

This plugin automatically logs deprecated and doing_it_wrong errors. The rest is what you add to your code.

You can log what functions will be run for a specific action or filter. For example if you want to see what runs in the ‘init’ hook:

function check_init_hook() { do_action( 'wp_log_debug_hook', 'init' ); } add_filter( 'init', 'check_init_hook', 0 );

The following are the different levels of logging to add to your code. You can use any level how you see fit, the descriptions of each level are just guidelines.

Emergency

System is unusable

do_action( ‘wp_log_emergency’, $label, $message );

Alert

Action must be taken immediately.

do_action( ‘wp_log_alert’, $label, $message );

Critical

Critical conditions.

do_action( ‘wp_log_critical’, $label, $message );

Error

Runtime errors that do not require immediate action but should typically be logged and monitored.

do_action( ‘wp_log_error’, $label, $message );

Warning

Exceptional occurrences that are not errors.

do_action( ‘wp_log_warning’, $label, $message );

Notice

Normal but significant events.

do_action( ‘wp_log_notice’, $label, $message );

Info

Interesting events.

do_action( ‘wp_log_info’, $label, $message );

Debug

Detailed debug information.

do_action( ‘wp_log_debug’, $label, $message );

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • developer tool
  • activity
  • debug
  • log
  • warning
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 5.3 · PHP not listed
Update activity6 May 20251y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.