A event/error logger written in C++