Cross platform C++ logger