I'm looking at adding logging to an application, and I'm considering using Kiwi syslogd and a freeware library (clSyslog) to send logging messages to the daemon. I briefly looked at log4c, and found compiling it with VC++ would take me more time than I had.
What tools do you use and recommend for logging messages?
Rolled my own -- this is especially useful for cross-platform stuff. You can take a look at Boost.Log. Note this was rejected when submitted and hence not part of the standard distribution. AFAIK, the author had plans to rewrite this though.
In C++ I use a lot of log4cxx.. Don't see why it's a problem to compile, works like champ. It brings lots of benefits. To name just a few - you can re-direct your log statements into syslog or windows event log without ever touching your code base - just change configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With