A logging plugin for WordPress. You can see what changed and who changed it.
Download: https://wordpress.org/plugins/logbook/
- WordPress
- Core updates
- Plugin/Theme updates
- Language updates
- Post/Page/Attachment
- Created
- Updated
- Deleted
- Plugin
- Activated
- Deactivated
- Theme
- Switched
- User
- Logged in
- XML-RPC
- Authenticated
- Created
- Updated
- Deleted
- PHP
- Errors
- Warnings (WP_DEBUG only)
- Notices (WP_DEBUG only)
- Create a class that extends the
\LogBook\Logger
class. - Load the class by
\LogBook\init_log()
like following.
add_action( 'plugins_loaded', function() {
require_once dirname( __FILE__ ) . '/path/to/example.php';
\LogBook\init_log( 'Hello\Example' );
} );
- The example class is here.
- See also defaults.
Updated post:
Last error of PHP: