KDEBUG macro for reducing logging during non-debug runs