Skip to content

Commit

Permalink
Release v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elvishew committed Nov 2, 2020
1 parent 601c273 commit ab5dbfe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The differences to other logger libraries:

## Dependency
```groovy
compile 'com.elvishew:xlog:1.6.1'
compile 'com.elvishew:xlog:1.7.0'
```

## Preview
Expand Down Expand Up @@ -222,17 +222,11 @@ In the menu, click the 'Replace in Path...' option.
In the dialog, fill the 'Text to find' with 'android.util.Log', and 'Replace with' with 'com.elvishew.xlog.XLog.Log', and click 'Find'.

## TODO
* [x] Print any object: XLog.d(Object) (since 1.1.0)
* [x] Support log interceptors(similar to [okhttp]'s [Interceptor], here we use it for intercepting log) (since 1.3.0)
* [x] Add tags filter (blacklist filter and whitelist filter) (since 1.3.0)
* [x] Add PatternFlattener(mostly used when logging to file), e.g: use pattern "{d yyyy-MM-dd hh:mm:ss.SSS} {l}/{t}: {m}" and the flattened log would be "2016-10-30 13:00:00,000 W/my_tag: Simple message" (since 1.3.0)
* [x] Log to file asynchronously (since 1.3.0)
* [x] Logger-based log level control rather than current global one (since 1.3.0)
* [x] Add builtin formatter for Bundle and Intent object (since 1.4.0)
* [x] Export log files to a .zip (since 1.4.0)
* [ ] Third-party libs log interception
* [ ] Provide some encryption for `FilePrinter`

## [Releases](https://github.com/elvishew/xLog/releases)
Latest release: 1.6.1 [Change log](https://github.com/elvishew/xLog/releases/tag/1.6.1)
Latest release: 1.7.0 [Change log](https://github.com/elvishew/xLog/releases/tag/1.7.0)

## [Issues](https://github.com/elvishew/xLog/issues)
If you meet any problem when using XLog, or have any suggestion, please feel free to create an issue.
Expand Down
14 changes: 4 additions & 10 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ XLog 能干什么:

## 依赖
```groovy
compile 'com.elvishew:xlog:1.6.1'
compile 'com.elvishew:xlog:1.7.0'
```

## 预览
Expand Down Expand Up @@ -220,17 +220,11 @@ grep -rl "android.util.Log" <your-source-directory> | xargs sed -i "" "s/android
在弹出的对话框里,'Text to find' 区域填上 'android.util.Log''Replace with' 区域填个 'com.elvishew.xlog.XLog.Log',然后点击 'Find'

## 待开发
* [x] 打印任意对象: XLog.d(Object) (v1.1.0 开始支持)
* [x] 支持日志拦截器(类似于 [okhttp] 的 [Interceptor],这里用来拦截日志)(v1.3.0 开始支持)
* [x] 添加 tags 过滤器 (白名单过滤和黑名单过滤)(v1.3.0 开始支持)
* [x] 添加 PatternLogFlattener(主要用在向文件打印日志时),如: 使用模式 "{d yyyy-MM-dd hh:mm:ss.SSS} {l}/{t}: {m}",平铺后的日志将会是 "2016-10-30 13:00:00,000 W/my_tag: Simple message" (v1.3.0 开始支持)
* [x] 打印日志到文件时,采用异步方式(v1.3.0 开始支持)
* [x] Logger 粒度的日志级别控制,取代当前的全局控制(v1.3.0 开始支持)
* [x] 为 BundleIntent 对象添加默认的格式化器(v1.4.0 开始支持)
* [x] 导出日志文件为 .zip(v1.4.0 开始支持)
* [ ] 第三方库的 log 截取
* [ ] 内置一些 log 加密器,供 `FilePrinter` 使用

## [版本](https://github.com/elvishew/xLog/releases)
最新版本:1.6.1 [Change log](https://github.com/elvishew/xLog/releases/tag/1.6.1)
最新版本:1.7.0 [Change log](https://github.com/elvishew/xLog/releases/tag/1.7.0)

## [问题](https://github.com/elvishew/xLog/issues)
如果你在使用过程中遇到任何问题或者有任何建议,请创建一个 Issue
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
VERSION_NAME=1.6.1
VERSION_CODE=12
VERSION_NAME=1.7.0
VERSION_CODE=13
GROUP=com.elvishew

POM_DESCRIPTION=Android logger, simple and pretty, powerful and flexible, all you need is here
Expand Down

0 comments on commit ab5dbfe

Please sign in to comment.