Reputation: 475
I need to do logging in a C++ application. After googling for a while, I decided to use log4cpp.
TIA
Upvotes: 7
Views: 9884
Reputation: 9408
I've used Log4cpp in the past and it does the job, though bear in mind the project has been inactive since 2007. There are also the following alternatives:
As for getting started, does the documentation not cover this?
Upvotes: 12
Reputation: 57729
The framework I'm using, wxWidgets
, comes with logging features. The logging is easy and comes in different flavors (such as debug only and logging by priorities). wxWidgets
comes with installation instructions, search on 'MSW'.
Which ever system you choose, you may want to standardize you log output. Creating an output format that can be imported into a database or spreadsheet can be very helpful.
Upvotes: 1