Title: Simple Log Viewer
Author: Pedro Avelar
Published: <strong>2024 年 4 月 23 日</strong>
Last modified: 2025 年 5 月 26 日

---

搜索插件

![](https://ps.w.org/simple-log-viewer/assets/banner-772x250.jpg?rev=3075905)

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

![](https://ps.w.org/simple-log-viewer/assets/icon-256x256.jpg?rev=3075905)

# Simple Log Viewer

 作者：[Pedro Avelar](https://profiles.wordpress.org/pedroasa/)

[下载](https://downloads.wordpress.org/plugin/simple-log-viewer.1.0.4.zip)

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

 [支持](https://wordpress.org/support/plugin/simple-log-viewer/)

## 描述

A simple plugin to log errors in real time in a metabox in the admin panel, too 
integrated with WP-CLI.

For the run command with WP-CLI is necessary to activate the plugin and install 
WP-CLI.

When running, paste the command `wp slvpl logs-erros` into the terminal, by default
the number of lines is 1000 but you can control the number of lines through the `--
num_linhas` parameter

**For the example**: `wp slvpl logs-erros [--num_linhas=<num_linhas>]` or
 better
in the example `wp slvpl logs-erros --num_linhas=100`.

## 屏幕截图

 * [[
 * View logs in metabox
 * [[
 * Settings page for enable WP_DEBUG and clear logs

## 安装

 1. Upload \”simple-log-viewer.php\” to the \”/wp-content/plugins/\” directory.
 2. Activate the plugin through the \”Plugins\” menu in WordPress.
 3. Activate WP_DEBUG in wp-config.php

## 常见问题

### Is the plugin free?

Yes, it always will be, we are open to the open source community.

### How do I contribute to plugin improvements?

Send an email to pedro.emanuel.avl@gmail.com with subject contribute to Simple Log
Viewer containing your github user in the subject, after acceptance create an issue,
perform a fork, after adding the new feature make a pull request , for approval.

## 评价

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

### 󠀁[Ótimo suporte](https://wordpress.org/support/topic/otimo-suporte-6/)󠁿

 [jhonebering](https://profiles.wordpress.org/jhonebering/) 2024 年 5 月 7 日

Constantemente temos erros que precisamos ficar vasculhando, esse tipo de solução
nos um ótimo suporte. Um ótimo avanço pra essa ferramenta seria conseguirmos mapear
alguns tipos de erros e ser notificados, temos as vezes casos de sites que ficam
dias fora do ar até alguém perceber e notificar, receber um email por exemplo desse
tipo de erro poderia melhorar o suporte, ainda mais quando o site faz vendas.

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

### 󠀁[Exactly what I was looking for](https://wordpress.org/support/topic/exactly-what-i-was-looking-for-598/)󠁿

 [fagworio](https://profiles.wordpress.org/fagworio/) 2024 年 4 月 23 日 2 回复

Thanks for this plugin. I was looking for something simple just to deal with some
error message. But without the need to install a plugin that has many features. 
Simple and direct. I hope for more plugins with a simpler approach. Thanks, nice
work.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/simple-log-viewer/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Pedro Avelar ](https://profiles.wordpress.org/pedroasa/)

[帮助将「Simple Log Viewer」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-log-viewer)

### 对开发感兴趣吗?

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

## 更新日志

**Path Version**
 1.0.4 – Add WP-CLI integration 1.0.3 – Bug fix: the option to 
activate WP_DEBUG was forcing activation even if the checkbox was unchecked 1.0.2–
Correction in the directory structure to save log directory for uploads 1.0.1 – 
internationalization and support WP_DEBUG enable in pannel settings **Version Beta**
1.0.0 Pre release **Develop version** 0.0.1 Initial release

**Refactor code version**
 1.0.3.2 – Refactor code to improve performance and better
maintenance **Security path version** 1.0.3.1 – Fix security issue, permission public
acess endpoint errors changed for proteged route

## 额外信息

 *  版本 **1.0.4**
 *  最后更新：**1 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.4 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-log-viewer/)
 * 标签
 * [dashboard widget](https://cn.wordpress.org/plugins/tags/dashboard-widget/)[debug](https://cn.wordpress.org/plugins/tags/debug/)
   [error reporting](https://cn.wordpress.org/plugins/tags/error-reporting/)[logs](https://cn.wordpress.org/plugins/tags/logs/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-log-viewer/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Pedro Avelar ](https://profiles.wordpress.org/pedroasa/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/simple-log-viewer/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://pedroavelar.com.br/)