Title: Samudra Log
Author: wakamin
Published: <strong>21. julija 2020</strong>
Last modified: 5. junija 2021

---

Tykače pytać

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

Tutón tykač **njeje so z najnowšimi 3 hłownymi wersijemi WordPress testował**. Snano
so hižo njewothladuje abo njepodpěruje a ma problemy z kompatibelnosću, hdyž so 
z nowšimi wersijemi WordPress wužiwa.

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

# Samudra Log

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

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

 * [Podrobnosće](https://hsb.wordpress.org/plugins/samudra-log/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/samudra-log/#reviews)
 * [Wuwiće](https://hsb.wordpress.org/plugins/samudra-log/#developers)

 [Podpěra](https://wordpress.org/support/plugin/samudra-log/)

## Wopisanje

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

## Fota wobrazowki

 * [[
 * Plugin settings page.

## HSP

### 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‘).

## Pohódnoćenja

Za tutón tykač pohódnoćenja njejsu.

## Sobuskutkowarjo a wuwiwarjo

„Samudra Log“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej
přinošowali.

Sobuskutkowarjo

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

[Přełožće „Samudra Log“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/samudra-log)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/samudra-log/), hladajće
do [SVN-repozitorija](https://plugins.svn.wordpress.org/samudra-log/) abo abonujće
[wuwiwanski protokol](https://plugins.trac.wordpress.org/log/samudra-log/) přez 
[RSS](https://plugins.trac.wordpress.org/log/samudra-log/?limit=100&mode=stop_on_copy&format=rss).

## Protokol změnow

#### 1.0.2

 * Support WordPress 5.7.2.

#### 1.0.1

 * Support WordPress 5.5.1.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.2**
 *  Last updated **5 lět**
 *  Active installations **Mjenje hač 10**
 *  WordPress version ** 4.7 abo nowši **
 *  Tested up to **5.7.15**
 *  PHP version ** 7.0 abo nowši **
 *  Language
 * [English (US)](https://wordpress.org/plugins/samudra-log/)
 * Tags
 * [debugging](https://hsb.wordpress.org/plugins/tags/debugging/)[logging](https://hsb.wordpress.org/plugins/tags/logging/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/samudra-log/advanced/)

## Pohódnoćenja

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/)

## Sobuskutkowarjo

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

## Podpěra

Chceće něšto prajić? Trjebaće pomoc?

 [Forum pomocy pokazać](https://wordpress.org/support/plugin/samudra-log/)

## Darić

Chceće dalewuwiwanje tutoho tykača podpěrać?

 [ Za tutón tykač darić ](https://paypal.me/wakamin)