Should I use logging in a C++ library : <p>So I am asking about a general advise on the topic. I'm developing a C++ library for numerical computation, however trough development I found it useful for debugging when there is an issue to have a flag which to enables some form of logging done so that I can inspect what is going wrong. My question is what are the acceptable standards on this? Should I define some macro for DEBUG so that if its not define no DEBUGs happen? Should I use a logging library and log stuff.</p>
