A thread safe logger built in C++