core: Log failures to connect trace source
TraceConnect
and TraceConnectWithoutContext
can fail to connect a trace, and will return false
when doing so. However, when using logging to check for misconfiguration, nothing will be printed out. This patch provides log statements that will flag misconfiguration errors (such as using the wrong Ptr to try to connect a trace source).