Add test/doc-friendly PrintLogger/ReturnLogger

...and use both to make tests and docs better.