These changes allow both normal debug logging and debug_dump() output to be delivered to the application via callback functions. This is useful so that debug output can be seamlessly integrated with other logging output. The changes allow the user to specify either a logging stream or callback function, but not both. (I did not see a use case for allowing delivery of messages to two places, but I have no objection to it.)
These changes allow both normal debug logging and
debug_dump()
output to be delivered to the application via callback functions. This is useful so that debug output can be seamlessly integrated with other logging output. The changes allow the user to specify either a logging stream or callback function, but not both. (I did not see a use case for allowing delivery of messages to two places, but I have no objection to it.)