Event Logs

Event Logs

You can make enable or disable debugging and trace javascript and other files with this plugin.

 

Installation

You can install this plugin same way as installing the WP Event Manager so please refer installation guide of the WP Event Manager or refer to this Installing Plugins Guide.

During the plugin activation process, plugin will create two meta key in the database called “event_manager_enable_javascript_log” and “event_manager_enable_javascript_trace”.

 

Admin Side Settings

This plugin will add new tab “Logs” at backend side with following options:

Admin Side Settings

 

Logs Console View

You can see debug information at browser console tab, as shown in below image.

Logs Console View

 

Advanced: Overriding/Customizing the templates

For overriding or customization template files can be found in the wp-event-manager-logs/templates/ directory. To override a template file, first you need to create directory “wp-event-manager-logs” under your theme folder and copy the template file to “/wp-content/yourtheme/wp-event-manager-logs/” directory. Your theme will use all the template files from the “/wp-content/yourtheme/wp-event-manager-logs/” directory instead of the plugin’s template file (/wp-content/plugins/wp-event-manager-logs/).

  • event-logs.php template file lists the user’s logs.

Remember: if you have overrided template file and plugin frequently updating then you need to sync template file with new updates from the plugin’s template file for better functionality and new features.