Linux 软件免费装
Banner图

aaLogWP

开发者 notorioushttp
更新时间 2014年7月7日 07:04
PHP版本: 3.0 及以上
WordPress版本: 3.9.1
版权: GPLv2 or later
版权网址: 版权信息

标签

logging benchmarking

下载

详情介绍:

Allows developers to log variables, see the call stack, benchmark code; all to a logfile, so your page doesn't get polluted with log messages. Each log message records the date and time, IP address, requested page, and file and line the log message came from, as well as the information to be logged. The plugin has an options page which allows you to randomize the cookie and logfile, for security purposes; as well as turning logging on and off for a given user. (Via cookie.) Documentation for the aaLog class can be found at the NotoriousWebmaster blog. Documentation for the aaLogWP plugin, which includes the aaLog class, can also be found at NotoriousWebmaster blog, though on a different page.

安装:

  1. Upload the aalogwp directory to the /wp-content/plugins/ directory;
  2. Create folder 'wp-content/uploads/aalogwp/';
  3. Change the permissions to the new directory with sudo chmod 0757 wp-content/uploads/aalogwp/;
  4. Activate the plugin through the 'Plugins' menu in WordPress;
  5. Turn on logging in the Settings | aaLog Options page;
  6. You may now use the $oLog object in your code to log your variables and so forth.

屏幕截图:

  • The aaLog Options page, which allows the user to change the cookie and filenames.
  • A sample of the output produced by aaLog. Note the filename and line number where the call to $oLog was made.

更新日志:

1.0 (2014-06-21) 1.0.1 (2014-06-23) 1.0.2 (2014-07-06)