(backends) Improve log messages displayed while code is generated