Samudra Log Wordpress Plugin - Rating, Reviews, Demo & Download

Samudra Log Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Write log for debugging WordPress site.

How to Use?

Use this function to write log.

// Variable value can be string, array, or object
$variable = 'Variable value';

// Log file will be in /wp-content/plugins/samudra-log/log/sd_log.log
sd_log($variable);

// Log file will be in /wp-content/plugins/samudra-log/log/my-file.log
sd_log($variable, 'my-file');

Restrict direct access to log file

If you are using Nginx, put this code inside your server block.

location ~ /wp-content/plugins/samudra-log/log/.*.log$ {
    deny all;
    return 404;
}

Screenshots

  1. Plugin settings page.

    Plugin settings page.


Reviews & Comments