Title: WP-Logs
Author: neiltron
Published: <strong>2010 年 10 月 19 日</strong>
Last modified: 2010 年 11 月 2 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/wp-logs.svg)

# WP-Logs

 由 [neiltron](https://profiles.wordpress.org/neiltron/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-logs.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-logs/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-logs/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-logs/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-logs/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-logs/)

## 外掛說明

WP-Logs enables developers to track system events from within the WordPress admin
area; i.e., tracking user logins, new posts, comments, etc. It’s also very helpful
if you need to build an API on top of WordPress and track usage to make sure everything
is functioning correctly.

After installation, a ‘Logs’ tab appears in the admin panel which lists all events
that have been sent to it via the simple EventLog() call (see installation for more
details).

To see our other work, visit [www.shockoe.com](http://www.shockoe.com). Google Analytics
code adapted from work by there4 development.

## 螢幕擷圖

[⌊List of logged events in the admin panel.⌉⌊List of logged events in the admin 
panel.⌉[

List of logged events in the admin panel.

## 安裝方式

 * Upload files to your site’s plugin directory
 * Activate WP-Logs in the admin panel
 * Add EventLog line to your theme/plugin code

#### EventLog()

The EventLog call should resemble this:

$EventLog = new EventLog(array( ‘event’ => ‘Login Successful’, ‘text’ => var_export(
$_REQUEST,1) ));

The only required parameter is ‘event’; ‘text’ can be any value(s) you want.

#### Google Analytics Integration

To have your events posted to Google Analytics, add your UA code to line 25 of analytics_events.
php. If you are using [Yoast’s Google Analytics plugin](https://wordpress.org/extend/plugins/google-analytics-for-wordpress/),
you can skip this step as WP-Logs will pull your UA information from the database.

#### Notifo Integration

WP-Logs integrates with [Notifo](http://www.notifo.com) to make it easy to receive
notices of events in realtime to either your phone or desktop. The [WP-Notifo plugin](https://wordpress.org/extend/plugins/wp-notifo/)
is required to use this functionality.

To use it, setup and configure WP-Notifo with your Notifo API keys. Then add a ‘
notifo’ line to your EventLog call, e.g.:

    ```
    $EventLog = new EventLog(array(
        'event' => 'New post',
        'text' => 'A user created a new post',
        'notifo' => 1
    ));
    ```

The last line tells WP-Logs to send this event to Notifo.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈WP-Logs〉的開發相關工作。

參與者

 *   [ neiltron ](https://profiles.wordpress.org/neiltron/)
 *   [ shockoe ](https://profiles.wordpress.org/shockoe/)

[將〈WP-Logs〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-logs)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-logs/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/wp-logs/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wp-logs/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-logs/)。

## 變更記錄

#### 0.6

 * Added WP-Notifo integration

#### 0.5.1

 * Remove ‘Add New’ from the admin menu

#### 0.5

 * First version of WP-Logs.

## 中繼資料

 *  版本 **0.6**
 *  最後更新 **16 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.0.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-logs/)
 * 標籤:
 * [analytics](https://tw.wordpress.org/plugins/tags/analytics/)[developer](https://tw.wordpress.org/plugins/tags/developer/)
   [logs](https://tw.wordpress.org/plugins/tags/logs/)[notification](https://tw.wordpress.org/plugins/tags/notification/)
   [tracking](https://tw.wordpress.org/plugins/tags/tracking/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-logs/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/wp-logs/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-logs/reviews/)

## 參與者

 *   [ neiltron ](https://profiles.wordpress.org/neiltron/)
 *   [ shockoe ](https://profiles.wordpress.org/shockoe/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-logs/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.shockoe.com)