xiaoyaoyou1212 / viselog Goto Github PK
View Code? Open in Web Editor NEW日志系统,使用森林对象维护不同的日志树进行日志输出,可以是Logcat树、文件树等,支持Bundle、Intent、Reference、Throwable、Map、Collection、JSON、Xml等格式化的输出。
Home Page: http://www.huwei.tech/
License: Apache License 2.0
日志系统,使用森林对象维护不同的日志树进行日志输出,可以是Logcat树、文件树等,支持Bundle、Intent、Reference、Throwable、Map、Collection、JSON、Xml等格式化的输出。
Home Page: http://www.huwei.tech/
License: Apache License 2.0
操作步奏:
2.使用json打印。
3.这个json数据很大很大大概有10w字符 ,然后打印 直接崩溃
生成的日志文件名如:/storage/sdcard/Log/debug_2017-06-28 03:54.log
创建文件时,会导致java.io.IOException: open failed: EINVAL (Invalid argument)
com.vise.log.inner.FileTree:line85
可以考虑将HH:mm中的":"替换为"-"
p.s.在模拟器(API 19)上
功能很强大,不过基于单例模式,单例成员释放很关键,处理不好可能存在内存泄漏问题。不过换个角度来说,Log只需要在开发调试时需要打印,发布版本都会关闭Log,至少发布出去的包不会存在这个内存泄漏问题。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.