# TestLogging

interface TestLogging(source)

Options that determine which test events get logged, and at which detail.

#### Inheritors

TestLoggingContainer

## Functions

events
Link copied to clipboard
abstract fun events(events: Array<Any>)
Sets the events to be logged.
getDisplayGranularity
Link copied to clipboard
@Internal
abstract fun getDisplayGranularity(): Property<Integer>
Returns the display granularity of the events to be logged.
getEvents
Link copied to clipboard
@Internal
abstract fun getEvents(): SetProperty<TestLogEvent>
Returns the events to be logged.
getExceptionFormat
Link copied to clipboard
@Internal
abstract fun getExceptionFormat(): Property<TestExceptionFormat>
Returns the format to be used for logging test exceptions.
getMaxGranularity
Link copied to clipboard
@Internal
abstract fun getMaxGranularity(): Property<Integer>
Returns the maximum granularity of the events to be logged.
getMinGranularity
Link copied to clipboard
@Internal
abstract fun getMinGranularity(): Property<Integer>
Returns the minimum granularity of the events to be logged.
getShowCauses
Link copied to clipboard
@Internal
abstract fun getShowCauses(): Property<Boolean>
Tells whether causes of exceptions that occur during test execution will be logged.
getShowExceptions
Link copied to clipboard
@Internal
abstract fun getShowExceptions(): Property<Boolean>
Tells whether exceptions that occur during test execution will be logged.
getShowStackTraces
Link copied to clipboard
@Internal
abstract fun getShowStackTraces(): Property<Boolean>
Tells whether stack traces of exceptions that occur during test execution will be logged.
getShowStandardStreams
Link copied to clipboard
@Internal
abstract fun getShowStandardStreams(): Property<Boolean>
Tells whether output on standard out and standard error will be logged.
getStackTraceFilters
Link copied to clipboard
@Internal
abstract fun getStackTraceFilters(): SetProperty<TestStackTraceFilter>
Returns the set of filters to be used for sanitizing test stack traces.
stackTraceFilters
Link copied to clipboard
abstract fun stackTraceFilters(stackTraces: Array<Any>)
Convenience method for getStackTraceFilters.