-
Notifications
You must be signed in to change notification settings - Fork 15
Home
Qu edited this page May 2, 2018
·
19 revisions
这是一个 Android 轻量级简单易用的Log组件
- 支持所有基本数据类型、数组、Map、List、Bundle、Intent、Reference、Throwable、Collection
- 支持Json、XML格式化
- 支持全局 Tag
- 兼容 Android Studio 3.1.0 的 Logcat 显示错行问题
- 支持 Debug、Release 模式
- 不依赖任何第三方框架,纯原生编写
- 自定义解析器,当输入类型无法满足需求时或无法解析时,可实现 Parser 接口重写方法来添加自定义解析器
- 支持添加拦截器,添加拦截器后它会在最终打印输出前进行拦截处理,可以对日志信息进行重构处理
- 支持添加全局回调,在不影响底层输出的情况下,所有信息会回调至全局接口里,可以在这里按各种级别类型保存你需要的信息到文件中
Gradle:
api 'me.tool:Logg:1.6.0'
- Project Submit Bug or Idea
- Email [email protected]
- Home https://rockyqu.github.io
- GitHub https://github.com/RockyQu
Copyright 2018 RockyQu
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.