A simple logging tool for c++