Basically instead of calling `testResultLogger.value` you do

```scala
val trl = (testResultLogger in (Test, test)).value
trl.run(...)
```

`testTaskOptions` defines test-related options bound to a given key.