api / org.gradle.api.tasks.testing / AbstractTestTask / getTestLogging

getTestLogging

@Internal open fun getTestLogging(): TestLoggingContainer

Allows to set options related to which test events are logged to the console, and on which detail level. For example, to show more information about exceptions use:

 apply plugin: 'java' test.testLogging { exceptionFormat "full" } 
For further information see TestLoggingContainer.

Return
this