tracer: [API]: add log_hook_for_target
We need an API to be able to get the information logged by the tracer from the app (ie, gst-validate) without needing to parse the output.
Not sure what the best way to do this is but being able to add a log_hook to a tracer would probably be enough.