Clog is a configurable logging library, supporting filtering and timestamping ... use it when you don't want to litter your code with
if (debug) fprintf(stderr, ...); else syslog(...); -- GDB has a 'break' feature; why doesn't it have 'fix' too?
clog.tgz
Description: GNU Zip compressed data