Add API logging to the SBQueue/SBQueueItem/SBThread calls.