log: add a public srd_log_callback_get() API routine