It depends what you mean with <display> ...
If you just move your mouse over a hero unit it just says its level above it...
For neutral creeps, its also displayed...
If you wanna make the same for normal units - just convert them to heroes(which is not always good)...
The final solution is to trigger a system to display every unit's level above them but that would be hard, wouldn't it?