It seems that logging in C++ isn’t a much discused topic when compared to a language like java. In a recent C++ project, I needed to add real logging support. Up till this point, the following was good enough (don’t judge). #ifdef DEBUG std::cerr << "some error" << std::endl; #endif I started googling and the following to be the most popular and mature. glog homepage glog was my first choice because it’s the simplest one to set up and it has hardly any dependencies.