Library in c++ to implement a logger