Named logging

Fix #351.
I'd break after the function name and have both parameters on the 2nd line, I think it would read better.