Title: Samudra Log
Author: wakamin
Published: <strong>21 Tháng 7, 2020</strong>
Last modified: 5 Tháng 6, 2021

---

Tìm kiếm plugin

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

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Samudra Log

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

[Tải về](https://downloads.wordpress.org/plugin/samudra-log.1.0.2.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/samudra-log/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/samudra-log/#reviews)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/samudra-log/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/samudra-log/)

## Mô tả

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

## Ảnh màn hình

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

Plugin settings page.

## Hỏi đáp

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

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Samudra Log” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “Samudra Log” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/samudra-log)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/samudra-log/), check out
[SVN repository](https://plugins.svn.wordpress.org/samudra-log/), hoặc theo dõi 
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/samudra-log/) qua [RSS](https://plugins.trac.wordpress.org/log/samudra-log/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.2

 * Support WordPress 5.7.2.

#### 1.0.1

 * Support WordPress 5.5.1.

#### 1.0.0

 * Initial release.

## Meta

 *  Phiên bản **1.0.2**
 *  Cập nhật lần cuối **5 năm trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 4.7 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.7.19**
 *  Phiên bản PHP ** 7.0 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/samudra-log/)
 * Thẻ
 * [debugging](https://vi.wordpress.org/plugins/tags/debugging/)[logging](https://vi.wordpress.org/plugins/tags/logging/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/samudra-log/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/samudra-log/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/samudra-log/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://paypal.me/wakamin)