Test
    Container for all test logging related options. Different options can be set for each log level. Options that are set directly (without specifying a log level) apply to log level LIFECYCLE. Example:
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"]
    }
}
Content copied to clipboard
Functions
Link copied to clipboard
                  Configures logging options for debug level.
Link copied to clipboard
                  Configures logging options for error level.
Link copied to clipboard
                  Returns logging options for the specified level.
Link copied to clipboard
                  Returns logging options for debug level.
Link copied to clipboard
                  Link copied to clipboard
                  Returns logging options for error level.
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Gets logging options for info level.
Link copied to clipboard
                  Returns logging options for lifecycle level.
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Returns logging options for quiet level.
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Gets logging options for warn level.
Link copied to clipboard
                  Configures logging options for info level.
Link copied to clipboard
                  Configures logging options for lifecycle level.
Link copied to clipboard
                  Configures logging options for quiet level.
Link copied to clipboard
                  Sets logging options for debug level.
Link copied to clipboard
                  Link copied to clipboard
                  Sets logging options for error level.
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Sets logging options for info level.
Link copied to clipboard
                  Sets logging options for lifecycle level.
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Sets logging options for quiet level.
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Sets logging options for warn level.
Link copied to clipboard
                  Link copied to clipboard
                  Configures logging options for warn level.