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
And here is a real-life example from my Raspberry Pi Pico-based remotion project:
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!
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!