Comments (3)
我觉得你说的很在理,第一个可能需要做一些处理,但没啥问题。第二个文件写入的话就需要把这个库的 定制性增强,我可能会着重增加第一个功能,第二个看后期的时间和安排。
from android-best-practices.
你不用close,等我完善了后,我会告诉你,那时候你再close吧。
from android-best-practices.
第一个问题,目前的类中其实这些东西都是一个方法,如果你下了之前的demo就会发现都是一个object方法进行输出的。第二个问题,我不建议log的工具类做保存文件的事情,你可以去截获系统的所有log,然后把他进行存储。这样一劳永逸,而且无入侵。原本的log库作者最近很忙,我自己fork了一个:https://github.com/tianzhijiexian/logger 增加了一些功能
from android-best-practices.
Related Issues (20)
- 作者很用心,顺便提个疑问? HOT 6
- 关于Log工具类 获取调用者类名的方法 HOT 4
- lib编译的时候找不到logger file HOT 3
- 建议使用gitbook工具进行编写,方便在线浏览 HOT 1
- Log最佳实践中获取类名的问题 HOT 1
- 对adapter 的疑问 HOT 5
- 停止更新了吗? HOT 3
- 好久都没更新了呢? HOT 2
- 赞
- 我想加入 HOT 3
- 很赞,有木有优化方面的呢? HOT 2
- 关于守护进程拉起application初始化的问题 HOT 5
- 关于Adapter的一点点意见和疑问 HOT 1
- 希望作者能再接再厉!写的很好,可以贴二维码支持这么用心的合集 HOT 1
- 获取类名可用 getClass().getCanonicalName HOT 3
- L.object()方法不可用 HOT 2
- 使用那个您修改过的logger的时候 应该compile什么呢? HOT 10
- 这是我写的AssemblyAdapter,我们可以互相交流一下 HOT 1
- 关于AdapterItem的问题 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-best-practices.