# 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.
isNonInteractive
Link copied to clipboard
@Incubating
abstract fun isNonInteractive(): Boolean
Can the build do interactive prompting 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.
setLogLevel
Link copied to clipboard
abstract fun setLogLevel(logLevel: LogLevel)
Specifies the minimum logging level to use.
setNonInteractive
Link copied to clipboard
@Incubating
abstract fun setNonInteractive(nonInteractive: Boolean)
Sets if the build can do interactive prompting on the console.
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.