Named logging

Fix #351.
Put the `\n` at eol, not at bol (2x).