首页 > 后端开发 > C++ > microlog New feature – Log Topics

microlog New feature – Log Topics

DDD
发布: 2024-09-19 06:17:03
原创
280 人浏览过

Hi!

I continue developing my logging library. I’m not getting much positive response from the internet, but the developing itself is too fun, so I continue adding new features (and use them in my other projects ?)

This time I added log topics. Each log message can have a topic, and you can control whether to print messages from each topic. It does not pollute the output with unnecessary messages and is very handy during debugging. Here is an example from a testing desktop application

microlog New feature – Log Topics

And here is a real-life example from my Raspberry Pi Pico-based remotion project:

microlog New feature – Log Topics

As usual, here is the link to the repository:

  • https://github.com/an-dr/microlog

For this release, I’ve put extra effort into the README file so you can find examples of usage for every feature. All the functions are documented in the header file, but if you have any questions or proposals, drop me a message, and I’ll try to respond.

Happy coding!

以上是microlog New feature – Log Topics的详细内容。更多信息请关注PHP中文网其他相关文章!

来源:dev.to
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板