A LoggingConfiguration
defines the logging settings for a Gradle build.
Type | Name 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. |
Returns the style of logging output that should be written to the console. Defaults to ConsoleOutput.Auto
Returns the minimum logging level to use. All log messages with a lower log level are ignored. Defaults to LogLevel.LIFECYCLE.
Returns the detail that should be included in stacktraces. Defaults to ShowStacktrace.INTERNAL_EXCEPTIONS.
Specifies the style of logging output that should be written to the console.
Specifies the minimum logging level to use. All log messages with a lower log level are ignored.
Sets the detail that should be included in stacktraces.