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

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.

评价

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条评价

贡献者及开发者

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

贡献者

帮助将「Plain Logger」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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