外掛說明
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:
- Upload the zip file and unzip it in the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- 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:
- Upload the zip file and unzip it in the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- 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” ); // stringwo_log( [‘a’ => 1, ‘b’ => 2, ‘c’ => 3 ] ); // other data type
} - Upload the zip file and unzip it in the
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
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