a basic logger library for c++