Pass in any Logger instead of *testing.T