# LoggingConfiguration

interface LoggingConfiguration(source)

A `LoggingConfiguration` defines the logging settings for a Gradle build.

#### Inheritors

StartParameter

## Functions

getConsoleOutput
Link copied to clipboard
abstract fun getConsoleOutput(): ConsoleOutput
Returns the style of logging output that should be written to the console.
getLogLevel
Link copied to clipboard
abstract fun getLogLevel(): LogLevel
Returns the minimum logging level to use.
getShowStacktrace
Link copied to clipboard
abstract fun getShowStacktrace(): ShowStacktrace
Returns the detail that should be included in stacktraces.
getWarningMode
Link copied to clipboard
abstract fun getWarningMode(): WarningMode
Specifies which type of warnings should be written to the console.
setConsoleOutput
Link copied to clipboard
abstract fun setConsoleOutput(consoleOutput: ConsoleOutput)
Specifies the style of logging output that should be written to the console.
setLogLevel
Link copied to clipboard
abstract fun setLogLevel(logLevel: LogLevel)
Specifies the minimum logging level to use.
setShowStacktrace
Link copied to clipboard
abstract fun setShowStacktrace(showStacktrace: ShowStacktrace)
Sets the detail that should be included in stacktraces.
setWarningMode
Link copied to clipboard
abstract fun setWarningMode(warningMode: WarningMode)
Specifies which type of warnings should be written to the console.