Title: Samudra Log
Author: wakamin
Published: <strong>21.7.2020</strong>
Last modified: 5.6.2021

---

Hae lisäosia

![](https://ps.w.org/samudra-log/assets/banner-772x250.png?rev=2343854)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/samudra-log/assets/icon-256x256.png?rev=2343854)

# Samudra Log

 [wakamin](https://profiles.wordpress.org/wakamin/)

[Lataa](https://downloads.wordpress.org/plugin/samudra-log.1.0.2.zip)

 * [Tiedot](https://fi.wordpress.org/plugins/samudra-log/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/samudra-log/#reviews)
 * [Kehitys](https://fi.wordpress.org/plugins/samudra-log/#developers)

 [Tuki](https://wordpress.org/support/plugin/samudra-log/)

## Kuvaus

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;
    }
    ```

## Kuvankaappaukset

[⌊Plugin settings page.⌉⌊Plugin settings page.⌉[

Plugin settings page.

## UKK

### Why not just use WP_DEBUG_LOG?

WP_DEBUG_LOG write file into wp-content/debug.log. In this file it also contain 
any error logs. This plugin make it easy to see specific logging that we want. And
adding custom logging file also easy with sd_log($var, ’file-name’).

## Arvostelut

There are no reviews for this plugin.

## Avustajat & Kehittäjät

“Samudra Log” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet
tämän lisäosan kehittämiseen.

Avustajat

 *   [ wakamin ](https://profiles.wordpress.org/wakamin/)

[Käännä “Samudra Log” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/samudra-log)

### Oletko kiinnostunut kehitystyöstä?

[Browse the code](https://plugins.trac.wordpress.org/browser/samudra-log/), check
out the [SVN repository](https://plugins.svn.wordpress.org/samudra-log/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/samudra-log/) by
[RSS](https://plugins.trac.wordpress.org/log/samudra-log/?limit=100&mode=stop_on_copy&format=rss).

## Muutosloki

#### 1.0.2

 * Support WordPress 5.7.2.

#### 1.0.1

 * Support WordPress 5.5.1.

#### 1.0.0

 * Initial release.

## Metatiedot

 *  Version **1.0.2**
 *  Last updated **5 vuotta sitten**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **5.7.19**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/samudra-log/)
 * Tags
 * [debugging](https://fi.wordpress.org/plugins/tags/debugging/)[logging](https://fi.wordpress.org/plugins/tags/logging/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/samudra-log/advanced/)

## Arvosanat

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/samudra-log/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/samudra-log/reviews/)

## Avustajat

 *   [ wakamin ](https://profiles.wordpress.org/wakamin/)

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

 [Tukifoorumi](https://wordpress.org/support/plugin/samudra-log/)

## Lahjoita

Haluatko tukea tämän lisäosan kehitystä?

 [ Tue tämän lisäosan tekijöitä ](https://paypal.me/wakamin)