moar logging helpers

Adds two helpers for Logging data in tests.  One gets the last logline, the other parses it with Logfmt so you can check data in the logline.