We'll need this to be able to tell when all outstanding logs have been sent, as part of graceful shutdown.
Moves the LogSender to agentsdk and deprecates LogsSender based on the v1 API.