Giter VIP home page Giter VIP logo

Comments (8)

armink avatar armink commented on August 26, 2024

对的,可以在 elog_cfg.h 中配置

from easylogger.

MyNewFlint avatar MyNewFlint commented on August 26, 2024

你好,我现在想把日志文件大小设置成10kBytes,但是在实际的板子上运行发现日志文件大小超过10kBytes了

from easylogger.

armink avatar armink commented on August 26, 2024

为了保证行日志的完整性,好像最后一条日志会超出一丁点。这块你的使用受影响吗

from easylogger.

MyNewFlint avatar MyNewFlint commented on August 26, 2024

我实际测试下来,不知道为啥会500kbytes,而且还在增加。对了这个日志可以设置成覆盖写吗?

from easylogger.

armink avatar armink commented on August 26, 2024

你是直接跑的 linux 下的那个 demo 吗?可以先什么都不改直接跑跑试试,默认是覆盖循环写的模式

from easylogger.

MyNewFlint avatar MyNewFlint commented on August 26, 2024

我是在demo的基础上改了一下,那我先测试demo的,非常感谢

from easylogger.

MyNewFlint avatar MyNewFlint commented on August 26, 2024

你好,我用demo重新编译运行了,没有问题。同时我又改了一下,现在可以了。应该是我第一次修改没有生效。目前我设置日志文件大小30kbytes,日志文件50个,测试下来是可以的,非常好,我再多跑一段时间试试

from easylogger.

armink avatar armink commented on August 26, 2024

好的,那 issue 先关闭了,以后有问题再打开

from easylogger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.