Helper for creating and emitting telemetry log events.