clibs / debug

Conditional debug logging for C
MIT License
17 stars 2 forks source link

deprecate? #10

Open stephenmathieson opened 9 years ago

stephenmathieson commented 9 years ago

i just wrote debug.c which closes #7, #8 and #9. it's a completely different api though.

thoughts on deprecating this in favour of the newer (feature rich) impl?

jwerle commented 9 years ago

Yeah go for it !

GochoMugo commented 8 years ago

The implementations of the two are radically different. clib/debug is using macros (almost entirely) while stephenmathieson/debug.c uses functions.

I would use one over the other, subject to the answer to: Do I want debug statements compiled in, for a production-grade executable/library I am shipping? It would be nicer to offer the different implementations, don't you think?