Simple C++ logger facility