Also, changing the name to indicate that this is a *callback* would be helpful. I'd suggest the name *sigrok_log_callback()*.