Skip to content

v0.1.9 - Activity Log

Choose a tag to compare

@interplaydesign interplaydesign released this 11 May 17:03
· 5 commits to main since this release

Adds a real logger and an Activity Log section to the settings page.

Highlights

  • Always-on logging for errors, warnings, info. Previously every log call was `WP_DEBUG`-gated, so production sites recorded nothing on failure.
  • Last 100 entries (non-debug) are stored in a `wp_options` ring buffer (`autoload=false`) so the admin UI can show them without grepping disk.
  • New "Activity Log" section under Settings → Interplay Services: time, level, message, expandable JSON context.
  • DownloadProxy and UpdateManager log the positive path too — update detected, download bytes/ms, source rename — not just failures.
  • `Clear log` button (AJAX, nonce-protected).

Notes for local debugging

  • All entries also go through `error_log()`, which lands in `wp-content/debug.log` when `WP_DEBUG_LOG` is enabled.
  • Tail with `tail -f wp-content/debug.log | grep "Interplay Services"` for a live stream.