Comments (4)
程序运行中文件被删除确实没办法正常写入,出于性能考虑,我没有在每次写入文件的时候判断文件是否存在。
from log4a.
这样可能会导致日志丢失,感觉日志完整性比性能更重要?
from log4a.
后续我加入判断测试一下。
from log4a.
多谢解答。
from log4a.
Related Issues (20)
- 性能比较 HOT 1
- mmap依然是延迟写入机制 HOT 7
- async_flush 导致日志丢失,建议新增同步的 flush 方法 HOT 3
- 集成报错 HOT 5
- 非常强大 HOT 1
- 请问如何限制日志文件大小和清除策略,还是默认已经配置了 HOT 3
- 依赖失效 HOT 1
- not support amr64-v8a HOT 2
- 日志的格式化有问题
- 集成到 app 中,会导致 apk 体积增大多少? 我看到 so 文件就有 3.1 M HOT 1
- Seek help - About use HOT 1
- 忽略此条信息,发错了
- 写入文件会出现空格,用Notepad打开显示NUL HOT 1
- 偶尔会有日志没有写入的问题
- 多进程支持吗? HOT 2
- 如何做到指定level的log只输出到文件而不输出到logcat? HOT 1
- 使用Log4a后cpu性能变差了?
- 线上崩溃 HOT 1
- 使用这个库出现了句柄泄露的问题
- 对这个日志文件的大小,删除,我们可有接口控制?
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 log4a.