首页  >  文章  >  后端开发  >  microlog New feature – Log Topics

microlog New feature – Log Topics

DDD
DDD原创
2024-09-19 06:17:03242浏览

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中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
上一篇:Fizz-Buzz下一篇:Coding a linux-based OS