# 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.
getConsoleUnicodeSupport
Link copied to clipboard
@Incubating
abstract fun getConsoleUnicodeSupport(): ConsoleUnicodeSupport
Returns the type of characters 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.
isInteractive
Link copied to clipboard
@Incubating
abstract fun isInteractive(): Boolean
Whether the build may prompt the user for input on 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.
setConsoleUnicodeSupport
Link copied to clipboard
@Incubating
abstract fun setConsoleUnicodeSupport(unicodeSupport: ConsoleUnicodeSupport)
Specifies the use of Unicode characters in the console output.
setInteractive
Link copied to clipboard
@Incubating
abstract fun setInteractive(interactive: Boolean)
Sets whether the build may prompt the user for input on 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.