rlog

rlog provides a message logging facility for C++.

You can find the project home for rlog at https://code.google.com/p/rlog/. Download the appropriate file and unpack, perhaps into your home directory. Create an environment variable for RLOG_HOME. Here’s an example:

 
export RLOG_HOME=/home/jeff/rlog-1.4

Under Ubuntu, you can build rlog using the following commands:

 
cd $RLOG_HOME
 
./configure
 
make

Under OS X, I was able to compile rlog only after applying a patch. See https://code.google.com/p/rlog/issues/detail?id=7 for information about the issue as well as the patch code. I used the code provided in the third comment (“This smaller diff...”). You can also find this patch code in the source distribution as code/wav/1/rlog.diff.

To apply ...

Get Modern C++ Programming with Test-Driven Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.