Home > Backend Development > C++ > body text

microlog New feature – Log Topics

DDD
Release: 2024-09-19 06:17:03
Original
258 people have browsed it

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!

The above is the detailed content of microlog New feature – Log Topics. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!