Having debugging on by default in the example seems to help people trying out the library, and with the default_logger() call it's not too much extra complication. We should also write an example/complex.c that exercises all the callback options, a custom allocator and so on.