Log For Cpp
Log4cpp is library of C++ classes for flexible logging to files, syslog, IDSA and other destinations. It is modeled after the Log4j Java library, staying as close to their API as is reasonable.
I have had a slight problem installing this on Linux Fedora Core 4 with
4.0.2. The problem is an extra semicolon at the end of the namespace
. After that it builds and all except one of the checks run O.K. There is not a simple example in the documentation but there is an article which describes how to use log4cpp at
which includes some example code.
View edit of
February 16, 2009
with title or text search