定制 blessingefkt/wp-log-viewer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

blessingefkt/wp-log-viewer

Composer 安装命令:

composer require blessingefkt/wp-log-viewer

包简介

A fork of Log Viewer By Markus Fischbacher

README 文档

README

=== Log Viewer ===
Tags: debug, log, advanced, admin
Tested up to: 5.5.3
Requires at least: 3.4
Stable Tag: 1.0.0
Latest Version: 1.0.0
Contributors:
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

_Fork of https://wordpress.org/plugins/log-viewer/_

This plugin provides an easy way to view *.log files directly in the admin panel.

== Description ==

This plugin provides an easy way to view *.log files directly in admin panel of your wordpress. Also you can perform simple actions like empty the file or deleting it. The plugin is recommended to use only in development.

To activate Wordpress logging to file you have to set `define( 'WP_DEBUG_LOG', true );` in your wp-config.php file.

**Known limitations:**

* Autorefresh is currently fixed at 15 seconds if enabled - will let you choose custom timing soon
* Options not realy well placed - have to have a look at solutions of other plugins
* Take care in MU installations. As the plugin lists all *.log files in WP_CONTENT_DIR it doesn't separate blogs ... yet!

**ToDo as of 013.05.19:**

* handling files in MU installations
* catching some not set requirements
* adding in-code documentation
* Translations ( DE )

== Changelog ==

= 2020.10.30 =
* added two filters: `log-viewer/default-log-directory`, `log-viewer/log-files`, `log-viewer/directory-log-files`, `log-viewer/directories`

= 2013.05.19 =
* added Display Options above file list
* added Autorefresh Option ( currently fixed at every 15 seconds )
* added FIFO / FILO Option ( FIFO = displays file as is; FILO = displays file reversed )

= 2013.04.02 =
* moved from sublime text to netbeans for development
* modified structure for standard compliance ( Support Topic by nickdaugherty )

= 2012.10.06 =
* added more files ( currently only WP_CONTENT_DIR and *.log )
* added file info
* started revamp of class structure

= 2012.10.01 =
* check if file is writeable; if not cancel actions / display message
* adjusting wp-plugin contents

= 2012.09.30 =
* initial Wordpress.org Plugins commit
* restructured for svn and wp-plugins hosting
* solved problems with wp-plugins site

= 2012.09.29 =
* submit for Wordpress.org approvement


== Installation ==

1. Upload to your plugins folder, usually found at 'wp-content/plugins/'
2. Activate the plugin on the plugins screen
3. Navigate to Tools ... Log Viewer to show and view log files
4. You may want to activate WP logging setting WP_DEBUG_LOG to TRUE in your wp-config.php file

== Frequently Asked Questions ==

= How to enable debug.log =
Simply add `define( 'WP_DEBUG_LOG', true );` in your wp-config.php file.

= I changed my error_log to something other than WP default =
That's ok ... as long as the file extension is .log and it's located in WP_CONTENT_DIR. Other sources or extensions aren't supported for now.

= Can i show other files? =
Yes you can! This plugin automatically looks for log files located in WP_CONTENT_DIR and have a .log extension.
Other sources can be added Other sources or extensions aren't supported for now.

= In Files View i only get the error message "Could not load file." or "No files found." =
It looks like there isn't a *.log file in WP_CONTENT_DIR. Wich could mean there are no errors. Yay!
If there are files, it could be that they are not readable ( check your permissions ) or it's a bug ... Booo!

= I don't see File Actions options =
The options are only displayed if the file is writeable. Check your permissions.

== Upgrade Notice ==

= None yet.

== Screenshots ==

1. Screenshot shows the file view screen

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2020-10-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固