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

WP Output Log File

描述

Control the output log file regardless of WP_DEBUG mode.
Specify output directory and file name, download and delete files.

And specify the date format as the file name, you can split the log every day and every month.

安装

Just install from your WordPress “Plugins > Add New” screen and all will be well. Manual installation is very straightforward as well:

  1. Upload the zip file and unzip it in the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings > WP Output Log File and activ options you want.

Example

You can write customizing wordpress code ex. using theme functions.php file.

if ( function_exists( ‘wo_log’ ) ) {
wo_log( “Your message” ); // string

wo_log( [‘a’ => 1, ‘b’ => 2, ‘c’ => 3 ] ); // other data type
}

常见问题

Installation Instructions

Just install from your WordPress “Plugins > Add New” screen and all will be well. Manual installation is very straightforward as well:

  1. Upload the zip file and unzip it in the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings > WP Output Log File and activ options you want.

Example

You can write customizing wordpress code ex. using theme functions.php file.

if ( function_exists( ‘wo_log’ ) ) {
wo_log( “Your message” ); // string

wo_log( [‘a’ => 1, ‘b’ => 2, ‘c’ => 3 ] ); // other data type
}

评价

此插件暂无评价。

贡献者及开发者

“WP Output Log File” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Output Log File”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.1.0

  • Change wo_log message paramater can any data type
  • Delete test file
  • Change write error message color

1.0.1

  • Fixed Compatibility with PHP 5.2 users
  • Change Settings menu name to WP Output Log File
  • Change readme.txt