Add hook to Logrus logger to make test assertions
Add hook to Logrus logger to make test assertions

Add the Logrus hook from the `mockhook` package to the logger used in
the tests, so that we can make assertions against the log entries
recorded by the hook.

mattbostock/leavediary