Adding some comments around slightly confusing logging decorator