Title: API Log Pro
Author: Hubbard Labs
Published: <strong>2019 年 9 月 23 日</strong>
Last modified: 2022 年 6 月 24 日

---

搜索插件

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

![](https://ps.w.org/api-log-pro/assets/icon-256x256.png?rev=2601956)

# API Log Pro

 作者：[Hubbard Labs](https://profiles.wordpress.org/hubbardlabs/)

[下载](https://downloads.wordpress.org/plugin/api-log-pro.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/api-log-pro/#description)
 * [评价](https://cn.wordpress.org/plugins/api-log-pro/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/api-log-pro/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/api-log-pro/#developers)

 [支持](https://wordpress.org/support/plugin/api-log-pro/)

## 描述

This plugin enables logging of all calls to the WordPress REST API. You can view
all logs from the WordPress Admin under **API Log Pro**.

### WP-CLI Support

This plugin offers some basic wp-cli support. You can use the following command 
to delete all the logs in the db.

    ```
    wp api-log-pro delete
    ```

## 安装

 1. Copy the `api-log-pro` folder into your `wp-content/plugins` folder
 2. Activate the `API Log Pro` plugin via the plugin admin page

## 常见问题

### What is the difference between outgoing and incoming logs?

Incoming are requests made to the WordPress Reset API, while outbound requests are
made to 3rd party API services using the wp_remote_request() function.

### How long are logs kept?

Currently logs are kept for 15 days.

### Can I view the log via the api?

Yes, you can use the WordPress api to view the logs if you have `manage options`
permissions as a WordPress User. Here is the endpoint:

    ```
    /wp-json/api-log-pro/v1/logs
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

「API Log Pro」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Hubbard Labs ](https://profiles.wordpress.org/hubbardlabs/)
 *   [ Brandon Hubbard ](https://profiles.wordpress.org/bhubbard/)

[帮助将「API Log Pro」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/api-log-pro)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/api-log-pro/)，查看[SVN仓库](https://plugins.svn.wordpress.org/api-log-pro/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/api-log-pro/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/api-log-pro/)。

## 更新日志

#### 0.0.1

 * First Release, please read CHANGELOG.md for all changes.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**4 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **6.0.12**
 *  PHP 版本 ** 7.0.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/api-log-pro/)
 * 标签
 * [api](https://cn.wordpress.org/plugins/tags/api/)[JSON](https://cn.wordpress.org/plugins/tags/json/)
   [rest-api](https://cn.wordpress.org/plugins/tags/rest-api/)[wp-api](https://cn.wordpress.org/plugins/tags/wp-api/)
   [wp-rest-api](https://cn.wordpress.org/plugins/tags/wp-rest-api/)
 *  [高级视图](https://cn.wordpress.org/plugins/api-log-pro/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/api-log-pro/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/api-log-pro/reviews/)

## 贡献者

 *   [ Hubbard Labs ](https://profiles.wordpress.org/hubbardlabs/)
 *   [ Brandon Hubbard ](https://profiles.wordpress.org/bhubbard/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/api-log-pro/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://hubbardlabs.com)