Report question

Question: How to make the cleanest code when reporting progress to a user?