Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Logging tools do you use for Windows?

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?

like image 515
Kieveli Avatar asked Nov 30 '22 12:11

Kieveli


2 Answers

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.

like image 129
dirkgently Avatar answered Dec 05 '22 07:12

dirkgently


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.

like image 33
Dima Avatar answered Dec 05 '22 05:12

Dima