Skip to content

Commit

Permalink
修改README
Browse files Browse the repository at this point in the history
  • Loading branch information
maning committed Jul 14, 2018
1 parent 3a3d604 commit d1b6c44
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# MNCrashMonitor
MNCrashMonitor 监听程序崩溃日志,直接页面展示崩溃日志列表,调试方便,测试人员可以随时给程序猿查看日志详情,可以动态添加日志内容,手机直接查看日志内容可以分享,复制,生成长截图。
MNCrashMonitor 监听程序崩溃日志,直接页面展示崩溃日志列表,调试方便,测试人员可以随时给程序猿查看日志详情,可以动态添加日志内容,手机直接查看日志内容可以分享,复制,生成长截图,高亮显示
[![](https://jitpack.io/v/maning0303/MNCrashMonitor.svg)](https://jitpack.io/#maning0303/MNCrashMonitor)

## 截图

![](https://github.com/maning0303/CrashMonitor/raw/master/screenshots/crash_001.jpg)
![](https://github.com/maning0303/CrashMonitor/raw/master/screenshots/crash_002.png)
![](https://github.com/maning0303/CrashMonitor/raw/master/screenshots/crash_003.png)
![](https://github.com/maning0303/CrashMonitor/raw/master/screenshots/crash_004.jpg)
![](https://github.com/maning0303/CrashMonitor/raw/master/screenshots/crash_005.jpg)
![](https://github.com/maning0303/CrashMonitor/raw/master/screenshots/crash_004.png)
![](https://github.com/maning0303/CrashMonitor/raw/master/screenshots/crash_005.png)


## 如何添加
Expand All @@ -27,7 +27,7 @@ MNCrashMonitor 监听程序崩溃日志,直接页面展示崩溃日志列表,调
#### 2.在app目录下的build.gradle中添加依赖
``` gradle
dependencies {
      compile 'com.github.maning0303:MNCrashMonitor:V1.0.7'
      compile 'com.github.maning0303:MNCrashMonitor:V1.0.8'
}
```

Expand Down Expand Up @@ -165,7 +165,7 @@ MNCrashMonitor 监听程序崩溃日志,直接页面展示崩溃日志列表,调

```

### 文件的位置:
### 日志文件的位置:
``` java

/Android/data/包名/cache/crashLogs/
Expand Down Expand Up @@ -193,7 +193,7 @@ MNCrashMonitor 监听程序崩溃日志,直接页面展示崩溃日志列表,调
V1.0.8:
1.优化文件命名,添加错误类型
2.文件列表排序采用修改时间
3.日志详情高亮显示崩溃类型,包名,和Activity类名
3.日志列表和详情高亮显示崩溃类型,包名,和Activity类名
4.长按可以删除单个日志

V1.0.7:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class MCrashMonitor {
*/
public static void init(Context context) {
MCrashHandler crashHandler = MCrashHandler.getInstance();
crashHandler.init(context);
crashHandler.init(context, false, null);
}

/**
Expand All @@ -35,7 +35,7 @@ public static void init(Context context) {
*/
public static void init(Context context, boolean isDebug) {
MCrashHandler crashHandler = MCrashHandler.getInstance();
crashHandler.init(context, isDebug);
crashHandler.init(context, isDebug, null);
}

/**
Expand All @@ -46,7 +46,7 @@ public static void init(Context context, boolean isDebug) {
*/
public static void init(Context context, MCrashCallBack crashCallBacks) {
MCrashHandler crashHandler = MCrashHandler.getInstance();
crashHandler.init(context, crashCallBacks);
crashHandler.init(context, false, crashCallBacks);
}

/**
Expand Down
Binary file modified screenshots/crash_003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/crash_004.jpg
Binary file not shown.
Binary file added screenshots/crash_004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/crash_005.jpg
Binary file not shown.
Binary file added screenshots/crash_005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d1b6c44

Please sign in to comment.