DEV Community

Andrei Gramakov
Andrei Gramakov

Posted on • Originally published at agramakov.me on

microlog 6: New feature – Log Topics

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

demo1

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

demo2

As usual, here is the link to the repository:

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!

Top comments (0)