From ab5dbfe1edd19d669d3b47cc050a9b7dffe27659 Mon Sep 17 00:00:00 2001 From: Elvis Hew Date: Mon, 2 Nov 2020 18:47:47 +0800 Subject: [PATCH] Release v1.7.0 --- README.md | 14 ++++---------- README_ZH.md | 14 ++++---------- gradle.properties | 4 ++-- 3 files changed, 10 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 5686e71..0259b99 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. diff --git a/README_ZH.md b/README_ZH.md index a318141..84acb44 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -25,7 +25,7 @@ XLog 能干什么: ## 依赖 ```groovy -compile 'com.elvishew:xlog:1.6.1' +compile 'com.elvishew:xlog:1.7.0' ``` ## 预览 @@ -220,17 +220,11 @@ grep -rl "android.util.Log" | 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] 为 Bundle 和 Intent 对象添加默认的格式化器(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。 diff --git a/gradle.properties b/gradle.properties index 9386a62..de72d51 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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