vendredi 26 août 2016

How to disable std::clog logging from source code?

When developing code, I have many console logging (std::clog) and some console output (std::cout). But now, I wanted to do online submission of my source code and I want to disable all the console logging (clog) but keep the console output (cout)

I can surely comment all of my //std::clog, but is there a better way to disable all logging inside my source file,?

Aucun commentaire:

Enregistrer un commentaire