MPDebug
示例
要运行示例项目,先克隆仓库,然后从 Example 目录首先运行 pod install
。
需求
NodeJS
brew install node
cd Server
npm install
运行服务器
./run.sh
最终访问 服务器
安装
MPDebug 可以通过 CocoaPods 来获取。要安装它,只需将以下行添加到您的 Podfile 中
pod 'MPDebug', :configurations => ['Debug']
并在您的 AppDelegate 中添加
#if DEBUG
import MPDebug
#endif
#if DEBUG
MPDebugLog.share.start()
#endif
的
#if DEBUG
import MPDebug
#endif
#if DEBUG
MPDebugLog.share.start(ip: "http://192.168.0.102:3000")
#endif
待办事项
- 支持多部分表单数据请求
- 支持自定义日志命令,例如:MPDebug.Log("ViewController Deinited")
- 支持自定义日志级别,例如:debug, verbose, info, error
- 支持记录 HTTP 请求的时间
- 支持对服务器进行搜索和过滤,例如:过滤 URL、设备以及搜索关键字
作者
manhpham90vn,[email protected]
许可证
MPDebug 在 MIT 许可证下可用。更多信息请参阅 LICENSE 文件。