A simple framework for testing and logging framework in C++