显示在一行_使用基于Swift的一行代码自动显示Log,Network,CPU,RAM,FPS等
发布日期:2021-06-24 17:13:38
浏览次数:2
分类:技术文章
本文共 1422 字,大约阅读时间需要 4 分钟。
GodEye
使用基于Swift的一行代码自动显示Log,Crash,Network,ANR,Leak,CPU,RAM,FPS,NetFlow,Folder等。就像上帝睁开眼睛
功能
- 监控日志并区分日志类型.
- 监控崩溃, 包括Uncatched Exception和Signal崩溃.
- 监控网络, 包括请求和响应的所有信息.
- 监控卡顿, 并告诉你卡顿时候的所有线程的堆栈.
- 监控内存泄露, 告诉你泄露的对象的类名.
- 提供一个可以自定义指令和输出的控制台.
- 监控系统和应用自身的CPU使用率.
- 监控系统与应用自身的内存使用率.
- 监控帧率FPS.
- 监控系统和应用自身的网络流量.
- 提供一个文件浏览器可用于查看沙盒,.app 以及系统根目录的文件.
- 运行时自定义设置
特点
- 丰富: 功能全面
- 方便: 一行代码接入
- 自动: 零代码入侵
- 安全: Release包可不打入一行代码
为了尽量复用代码,这个项目中的某些组件之间有比较强的依赖关系。为了方便其他开发者使用,我从中拆分出以下独立组件:
- Log4G — Simple, lightweight logging framework written in Swift.
- AssistiveButton — Simple Assistive Button.
- AppBaseKit — A handy kit of Swift extensions and wrapped class to boost your productivity.
- AppSwizzle — lightweight and flexible method swizzling wrapped by swift.
- LeakEye — LeakEye is a memory leak monitor.
- NetworkEye — NetworkEye is a network monitor,automatic catch the request and response infomation of all kinds of request send.
- ANREye — ANREye is an ANR (Application Not Responding) monitor,automatic catch the ANR and return stacktrace of all threads.
- ASLEye — ASLEye is an ASL(Apple System Log) monitor, automatic catch the log from NSLog by asl module.
- CrashEye — CrashEye is an ios crash monitor,automatic catch exception crash & signal crash and return the stacktrace.
- SystemEye — SystemEye is a system monitor,automatic catch the infomation of cpu,memory....etc.
预览
代码目录
更多使用方法可以查看官方文档
开源地址:
https://github.com/zixun/GodEye
更多更优质的资讯,请关注我,你的支持会鼓励我不断分享更多更好的优质文章。
转载地址:https://blog.csdn.net/weixin_34026997/article/details/112616702 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
路过按个爪印,很不错,赞一个!
[***.219.124.196]2024年04月06日 00时03分13秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
maven、maven项目部署
2019-04-28
springboot项目简单介绍、启动和部署
2019-04-28
maven项目打包jar给其他项目pom引用和外部引用
2019-04-28
分布式系统
2019-04-28
分布式系统中CAP原理
2019-04-28
微服务、微服务核心基础以及常见的微服务框架
2019-04-28
Centos7上安装docker
2019-04-28
Docker搭建MySQL服务
2019-04-28
注册中心的选择和Eurake服务搭建
2019-04-28
springcloud LoadBalancerClient 负载策略原理
2019-04-28
国际化输出笔记
2019-04-28
自定义jstl标签用法案例
2019-04-28
数据库笔记群集
2019-04-28
在div下动态拼接一个文本框
2019-04-28
数据连接池(数据源)的配置方法
2019-04-28
ajax用法笔记
2019-04-28
JavaScript实现的打字机效果
2019-04-28
Mac出现启动问题怎么办
2019-04-28
七、入门之struts.xml编写
2019-04-28