Logging Framework for C++
Description
log4cplus is a simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modelled after the Java log4j API.
Logging Framework for C++ Web SiteUser Ratings
User Reviews
-
Thanks for a good library! Easy to modify and nice architecture.
-
Great library, thank you for this project!
-
Great library! I used Pantheios before, but (being very fast and extendable, though) it hasn't "multiple loggers" feature, while it's quite a "must have" one. The 'log4cplus' lets me log different functionality domains via different loggers, which logging levels can be managed run-time. It means that when my end-user found some hard-to-track issue in my software, I can say him "please open config-file and turn on the logging port A at TRACE level, the logging port B at ERROR level, and left all other logging ports off". This is typical real-life logging use-case, and 'log4cplus' does it great.
-
Easy to modify. Good architecture. Thank you.
-
log4cplus
-
I hate this ugly piece of crap. Was going to use it on Windows because log4cpp doesn't work there and logcxx is an overblown monster. This one is especially nasty having absorbed a welter of ugly hacks over the decade since the original author jettisoned it. The hacks are totally undocumented and the most you can find are amateurish write-ups at random web pages. Usable but only by painful reading of its sources and inference of what a c++ log4j is supposed to be doing. Says more about C++ than I ever could with words. Decided to just gut the whole thing and roll my own simple sprintf based logger in disgust.