Logging framework for C ++
I apologize for a topic that's been widely discussed before, but I don't find that none of the discussions clearly show which one to use in the long run. My requirements for the logging framework in my C ++ project:
- Ceiling protection.
- Must support multiple goals.
- Possible magazine rotation.
- The way the module is identified is implicit.
I've been using boost log for some time now on a small C ++ project and it worked well. But when I moved to a large C ++ project I found support for multiple targets (I mean multiple files for the same project) is a nightmare. There is no way to implicitly mention which module is being registered, and above all, compilation time increased by at least 40%.
I am now considering an alternative framework and think log4cplus and logog seem to fill all of my requirements. I wanted to get an expert opinion that would fit the above criteria and not go back into the soup after using the library for some time.
source to share
No one has answered this question yet
Check out similar questions: