Interface LoggingConfiguration
- All Known Implementing Classes:
- StartParameter
public interface LoggingConfiguration
A 
LoggingConfiguration defines the logging settings for a Gradle build.- 
Method SummaryModifier and TypeMethodDescriptionReturns the style of logging output that should be written to the console.Returns the minimum logging level to use.Returns the detail that should be included in stacktraces.Specifies which type of warnings should be written to the console.voidsetConsoleOutput(ConsoleOutput consoleOutput) Specifies the style of logging output that should be written to the console.voidsetLogLevel(LogLevel logLevel) Specifies the minimum logging level to use.voidsetShowStacktrace(ShowStacktrace showStacktrace) Sets the detail that should be included in stacktraces.voidsetWarningMode(WarningMode warningMode) Specifies which type of warnings should be written to the console.
- 
Method Details- 
getLogLevelLogLevel getLogLevel()Returns the minimum logging level to use. All log messages with a lower log level are ignored. Defaults toLogLevel.LIFECYCLE.
- 
setLogLevelSpecifies the minimum logging level to use. All log messages with a lower log level are ignored.
- 
getConsoleOutputConsoleOutput getConsoleOutput()Returns the style of logging output that should be written to the console. Defaults toConsoleOutput.Auto
- 
setConsoleOutputSpecifies the style of logging output that should be written to the console.
- 
getWarningModeWarningMode getWarningMode()Specifies which type of warnings should be written to the console.- Since:
- 4.5
 
- 
setWarningModeSpecifies which type of warnings should be written to the console.- Since:
- 4.5
 
- 
getShowStacktraceShowStacktrace getShowStacktrace()Returns the detail that should be included in stacktraces. Defaults toShowStacktrace.INTERNAL_EXCEPTIONS.
- 
setShowStacktraceSets the detail that should be included in stacktraces.
 
-