A Handy Logger in C++