public interface LoggingConfiguration
LoggingConfiguration
defines the logging settings for a Gradle build.Modifier and Type | Method and Description |
---|---|
ConsoleOutput |
getConsoleOutput()
Returns the style of logging output that should be written to the console.
|
LogLevel |
getLogLevel()
Returns the minimum logging level to use.
|
ShowStacktrace |
getShowStacktrace()
Returns the detail that should be included in stacktraces.
|
void |
setConsoleOutput(ConsoleOutput consoleOutput)
Specifies the style of logging output that should be written to the console.
|
void |
setLogLevel(LogLevel logLevel)
Specifies the minimum logging level to use.
|
void |
setShowStacktrace(ShowStacktrace showStacktrace)
Sets the detail that should be included in stacktraces.
|
LogLevel getLogLevel()
LogLevel.LIFECYCLE
.void setLogLevel(LogLevel logLevel)
ConsoleOutput getConsoleOutput()
ConsoleOutput.Auto
void setConsoleOutput(ConsoleOutput consoleOutput)
ShowStacktrace getShowStacktrace()
ShowStacktrace.INTERNAL_EXCEPTIONS
.void setShowStacktrace(ShowStacktrace showStacktrace)