Criawips debugging simplyfied
Two or three months ago I have been talking to Benjamin about debugging output of applications. We've been talking about this when we had lunch and he told me what he would expect of a generic debugging library. I just finished some debugging code for criawips (the ones who tested it know that it had been printing hundreds of lines of debugging output).
Since today, criawips will be quiet. When one tells configure that he's not a developer, the debugging output will be completely disabled (similar to g_assert <-> G_DISABLE_ASSERTS). Otherwise it will only print information that can be specified by environment variable (use CDEBUG="Cria" ./criawips for the whole fun).
For those interested, the code is available under LGPL 2.1.