StartParameter
public interface LoggingConfiguration
LoggingConfiguration
defines the logging settings for a Gradle build.Modifier and Type | Method | 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.
|
WarningMode |
getWarningMode() |
Specifies which type of warnings should be written to the console.
|
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.
|
void |
setWarningMode(WarningMode warningMode) |
Specifies which type of warnings should be written to the console.
|
LogLevel getLogLevel()
LogLevel.LIFECYCLE
.void setLogLevel(LogLevel logLevel)
ConsoleOutput getConsoleOutput()
ConsoleOutput.Auto
void setConsoleOutput(ConsoleOutput consoleOutput)
@Incubating WarningMode getWarningMode()
@Incubating void setWarningMode(WarningMode warningMode)
ShowStacktrace getShowStacktrace()
ShowStacktrace.INTERNAL_EXCEPTIONS
.void setShowStacktrace(ShowStacktrace showStacktrace)