This PR addresses https://github.com/weliem/bluez_inc/issues/28 by adding a new function log_set_handler, which takes a callback. If this is set, none of the existing log functionality is engaged- only the callback is called. The callback can be set to and from NULL dynamically and the built-in log flow will be redirected or resumed.
This PR addresses https://github.com/weliem/bluez_inc/issues/28 by adding a new function
log_set_handler
, which takes a callback. If this is set, none of the existing log functionality is engaged- only the callback is called. The callback can be set to and fromNULL
dynamically and the built-in log flow will be redirected or resumed.