[#67663654] Improve logging and test coverage of UdpEmitter

Make udpEmitter struct private.

Signed-off-by: caleb miles <cmiles@pivotallabs.com>