While it's not possible to detect damage towards vehicles, damage to players themselves is logged already, however it shows as 'M4' or 'Minigun' for vehicle weapons. I'll correct it to show the vehicle in 1.15.
Before:
After:
Actually I'll specify it was a gun too, to differentiate using the guns and ramming into someone..