a simple logging c++ library