Title: Plain Logger
Author: hxh90
Published: <strong>2017 年 1 月 29 日</strong>
Last modified: 2017 年 8 月 22 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/plain-logger.svg)

# Plain Logger

 作者：[hxh90](https://profiles.wordpress.org/hxh90/)

[下载](https://downloads.wordpress.org/plugin/plain-logger.zip)

 * [详情](https://cn.wordpress.org/plugins/plain-logger/#description)
 * [评价](https://cn.wordpress.org/plugins/plain-logger/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/plain-logger/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/plain-logger/#developers)

 [支持](https://wordpress.org/support/plugin/plain-logger/)

## 描述

Easily log any event on your WordPress site to text file. When simple echo and var_dump
just won’t do.

#### Features

 * Clear log with one click
 * Refresh log with one click

## 屏幕截图

 * [[
 * ** Log view ** – Log view area where logged event / error will be displayed.

## 安装

#### From your WordPress Dashboard

 1. Click on “Plugins > Add New” in the sidebar
 2. Search for “Plain Logger”
 3. Activate Plain Logger from the plugins page

#### From wordpress.org

 1. Search for “Plain Logger”
 2. Download the plugin to your local computer
 3. Upload the wp-log-viewer directory to your “/wp-content/plugins” directory using
    your favorite ftp/sftp/scp program
 4. Activate Plain Logger from the plugins page

#### Once Activated

Click on “Tools > Plain Logger” in the sidebar.

#### Requirements

 * PHP 5.4.0 or greater
 * WordPress 3.9 or above

## 常见问题

  Installation Instructions

#### From your WordPress Dashboard

 1. Click on “Plugins > Add New” in the sidebar
 2. Search for “Plain Logger”
 3. Activate Plain Logger from the plugins page

#### From wordpress.org

 1. Search for “Plain Logger”
 2. Download the plugin to your local computer
 3. Upload the wp-log-viewer directory to your “/wp-content/plugins” directory using
    your favorite ftp/sftp/scp program
 4. Activate Plain Logger from the plugins page

#### Once Activated

Click on “Tools > Plain Logger” in the sidebar.

#### Requirements

 * PHP 5.4.0 or greater
 * WordPress 3.9 or above

  How do I log event / error?

To log event, use do_action( “plain_logger”, “Log label”, “Logging some event”);
on some WordPress hook or any place you want to log.

## 评价

![](https://secure.gravatar.com/avatar/3f506c374d8cfdf5b5e9aeeb5bfac1130f1c0e1cc9794cf3cc70a26dd636a6ae?
s=60&d=retro&r=g)

### 󠀁[Simple but nice logger](https://wordpress.org/support/topic/simple-but-nice-logger/)󠁿

 [Max K](https://profiles.wordpress.org/kaminskym/) 2018 年 12 月 22 日

Very nice plugin, some things can be tweaked (for example the second param can be
set as optional, but other works very good).

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/plain-logger/reviews/)

## 贡献者及开发者

「Plain Logger」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Plain Logger」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/plain-logger)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/plain-logger/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/plain-logger/)，或通过[RSS](https://plugins.trac.wordpress.org/log/plain-logger/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/plain-logger/)。

## 更新日志

#### 1.1.1

 * Add new action to make it compatible on Theme frontend testing.
 * Fix admin hiding submit button for other setting page.
 * Load plugin class faster to make the usable on other plugins / themes.

#### 1.0.0

 * Initial release
    Release date: 2017-01-29

Copyright 2017 Septian Ahmad Fujianto [http://septianfujianto.com](http://septianfujianto.com)

## 额外信息

 *  版本 **1.1.2**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  语言
 * [English (US)](https://wordpress.org/plugins/plain-logger/)
 * 标签
 * [actions](https://cn.wordpress.org/plugins/tags/actions/)[activity](https://cn.wordpress.org/plugins/tags/activity/)
   [admin](https://cn.wordpress.org/plugins/tags/admin/)[debugging](https://cn.wordpress.org/plugins/tags/debugging/)
 *  [高级视图](https://cn.wordpress.org/plugins/plain-logger/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/plain-logger/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/plain-logger/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/plain-logger/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/plain-logger/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/plain-logger/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/plain-logger/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/plain-logger/)