Write log for debugging Wordpress site.
As of April 2026, Samudra Log is a WordPress logging plugin with 0 active installations and a 0/5 rating0. It has been downloaded 928 times in total. Requires WordPress 4.7+ and PHP 7.0+. Available on WordPress.org since 2020. Last updated 4 years ago — may have compatibility concerns. Top alternative: Check & Log Email – Easy Email Testing….
Write log for debugging WordPress site.
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');
If you are using Nginx, put this code inside your server block.
location ~ /wp-content/plugins/samudra-log/log/.*\.log$ {
deny all;
return 404;
}
| WordPress | 4.7+ requiredTested up to 5.7.15 |
| PHP | 7.0+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.