Scoped logger for better testing

This makes it easier to pass an instance of minilog to the client in order to ensure that the reporting is all sent to the same stream.