A c++ logging facility