Logging when using GradleRunner

I’m running tests with spock using GradleRunner, based on this.

It’d be helpful to be able to log messages in my test code to the same place GradleRunner ends up logging. With this it’s easier to group log messages with their corresponding gradle execution. Do you have any examples of this? If this isn’t currently supported, I’m curious what’d be involved to implement it.



Take a look at: forwardOutput()