Alexander Ploumistos wrote:
On the other hand, if every message that was not meant for the user
were suppressed, it would be very difficult to troubleshoot such a
program, should an actual bug come along, because you would need a
different build to get useful output in the console or a logging
service.
Nah, it takes only a command line parameter to turn on debug logging. An
environment variable could also be used. A different build isn't needed.
It's no harder to make logging conditional at run time than it is to
make it conditional at build time.
--
Björn Persson