public interface TestLoggingContainer extends TestLogging
 apply plugin: 'java'
 test {
     testLogging {
         // set options for log level LIFECYCLE
         events "failed"
         exceptionFormat "short"
         // set options for log level DEBUG
         debug {
             events "started", "skipped", "failed"
             exceptionFormat "full"
         }
         // remove standard output/error logging from --info builds
         // by assigning only 'failed' and 'skipped' events
         info.events = ["failed", "skipped"]
     }
 }
 
 The defaults that are in place show progressively more information
 on log levels LIFECYCLE, INFO, and DEBUG, respectively.| Modifier and Type | Method and Description | 
|---|---|
| void | debug(Action<TestLogging> action)Configures logging options for debug level. | 
| void | error(Action<TestLogging> action)Configures logging options for error level. | 
| TestLogging | get(LogLevel level)Returns logging options for the specified level. | 
| TestLogging | getDebug()Returns logging options for debug level. | 
| TestLogging | getError()Returns logging options for error level. | 
| TestLogging | getInfo()Gets logging options for info level. | 
| TestLogging | getLifecycle()Returns logging options for lifecycle level. | 
| TestLogging | getQuiet()Returns logging options for quiet level. | 
| TestLogging | getWarn()Gets logging options for warn level. | 
| void | info(Action<TestLogging> action)Configures logging options for info level. | 
| void | lifecycle(Action<TestLogging> action)Configures logging options for lifecycle level. | 
| void | quiet(Action<TestLogging> action)Configures logging options for quiet level. | 
| void | setDebug(TestLogging logging)Sets logging options for debug level. | 
| void | setError(TestLogging logging)Sets logging options for error level. | 
| void | setInfo(TestLogging logging)Sets logging options for info level. | 
| void | setLifecycle(TestLogging logging)Sets logging options for lifecycle level. | 
| void | setQuiet(TestLogging logging)Sets logging options for quiet level. | 
| void | setWarn(TestLogging logging)Sets logging options for warn level. | 
| void | warn(Action<TestLogging> action)Configures logging options for warn level. | 
events, getDisplayGranularity, getEvents, getExceptionFormat, getMaxGranularity, getMinGranularity, getShowCauses, getShowExceptions, getShowStackTraces, getShowStandardStreams, getStackTraceFilters, setDisplayGranularity, setEvents, setExceptionFormat, setMaxGranularity, setMinGranularity, setShowCauses, setShowExceptions, setShowStackTraces, setShowStandardStreams, setStackTraceFilters, stackTraceFiltersTestLogging getDebug()
void setDebug(TestLogging logging)
logging - logging options for debug levelvoid debug(Action<TestLogging> action)
action - logging options for debug levelTestLogging getInfo()
void setInfo(TestLogging logging)
logging - logging options for info levelvoid info(Action<TestLogging> action)
action - logging options for info levelTestLogging getLifecycle()
void setLifecycle(TestLogging logging)
logging - logging options for lifecycle levelvoid lifecycle(Action<TestLogging> action)
action - logging options for lifecycle levelTestLogging getWarn()
void setWarn(TestLogging logging)
logging - logging options for warn levelvoid warn(Action<TestLogging> action)
action - logging options for warn levelTestLogging getQuiet()
void setQuiet(TestLogging logging)
logging - logging options for quiet levelvoid quiet(Action<TestLogging> action)
action - logging options for quiet levelTestLogging getError()
void setError(TestLogging logging)
logging - logging options for error levelvoid error(Action<TestLogging> action)
action - logging options for error levelTestLogging get(LogLevel level)
level - the level whose logging options are to be returned