Simple log tool for C++