| Package | Description |
|---|---|
| org.gradle.api.logging |
Classes for managing logging in Gradle.
|
| org.gradle.foundation.ipc.gradle | |
| org.gradle.gradleplugin.foundation | |
| org.gradle.gradleplugin.foundation.request | |
| org.gradle.gradleplugin.foundation.runner | |
| org.gradle.logging | |
| org.gradle.logging.internal | |
| org.gradle.logging.internal.slf4j | |
| org.gradle.openapi.wrappers.runner | |
| org.gradle.process.internal |
Classes for running external processes.
|
| org.gradle.process.internal.child | |
| org.gradle.testfixtures.internal | |
| org.gradle.tooling.internal.provider.input |
| Modifier and Type | Field and Description |
|---|---|
static Map<Integer,LogLevel> |
Logging.ANT_IVY_2_SLF4J_LEVEL_MAPPER |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
LoggingManager.getLevel()
Returns the current logging level.
|
LogLevel |
LoggingManager.getStandardErrorCaptureLevel()
Returns the log level that output written to System.err will be mapped to.
|
LogLevel |
LoggingManager.getStandardOutputCaptureLevel()
Returns the log level that output written to System.out will be mapped to.
|
static LogLevel |
LogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
LogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
LoggingManager |
LoggingManager.captureStandardError(LogLevel level)
Requests that output written to System.err be routed to Gradle's logging system.
|
LoggingManager |
LoggingManager.captureStandardOutput(LogLevel level)
Requests that output written to System.out be routed to Gradle's logging system.
|
boolean |
Logger.isEnabled(LogLevel level)
Returns true if the given log level is enabled for this logger.
|
void |
Logger.log(LogLevel level,
String message)
Logs the given message at the given log level.
|
void |
Logger.log(LogLevel level,
String message,
Object... objects)
Logs the given message at the given log level.
|
void |
Logger.log(LogLevel level,
String message,
Throwable throwable)
Logs the given message at the given log level.
|
LoggingManager |
LoggingManager.setLevel(LogLevel logLevel)
Sets the minimum logging level.
|
| Constructor and Description |
|---|
AbstractGradleServerProtocol(File currentDirectory,
File gradleHomeDirectory,
File customGradleExecutor,
String fullCommandLine,
LogLevel logLevel,
ShowStacktrace stackTraceLevel) |
ExecuteGradleCommandServerProtocol(File currentDirectory,
File gradleHomeDirectory,
File customGradleExecutor,
String fullCommandLine,
LogLevel logLevel,
ShowStacktrace stackTraceLevel,
ExecuteGradleCommandServerProtocol.ExecutionInteraction executionInteraction) |
TaskListServerProtocol(File currentDirectory,
File gradleHomeDirectory,
File customGradleExecutor,
String fullCommandLine,
LogLevel logLevel,
ShowStacktrace stackTraceLevel,
TaskListServerProtocol.ExecutionInteraction executionInteraction) |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
GradlePluginLord.getLogLevel() |
| Modifier and Type | Method and Description |
|---|---|
void |
GradlePluginLord.setLogLevel(LogLevel logLevel) |
| Modifier and Type | Method and Description |
|---|---|
ProcessLauncherServer.Protocol |
Request.createServerProtocol(LogLevel logLevel,
ShowStacktrace stackTraceLevel,
File currentDirectory,
File gradleHomeDirectory,
File customGradleExecutor)
This is called right before this command is executed (because the settings such as log level and stack trace level can be changed between the time someone initiates a command and it executes).
|
ProcessLauncherServer.Protocol |
RefreshTaskListRequest.createServerProtocol(LogLevel logLevel,
ShowStacktrace stackTraceLevel,
File currentDirectory,
File gradleHomeDirectory,
File customGradleExecutor)
This is called right before this command is executed (because the settings such as log level and stack trace level can be changed between the time someone initiates a command and it executes).
|
ProcessLauncherServer.Protocol |
ExecutionRequest.createServerProtocol(LogLevel logLevel,
ShowStacktrace stackTraceLevel,
File currentDirectory,
File gradleHomeDirectory,
File customGradleExecutor)
This is called right before this command is executed (because the settings such as log level and stack trace level can be changed between the time someone initiates a command and it executes).
|
| Modifier and Type | Method and Description |
|---|---|
void |
GradleRunner.executeCommand(String commandLine,
LogLevel logLevel,
ShowStacktrace stackTraceLevel,
ExecuteGradleCommandServerProtocol.ExecutionInteraction executionInteraction) |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
LoggingConfiguration.getLogLevel() |
| Modifier and Type | Method and Description |
|---|---|
LoggingManagerInternal |
LoggingManagerInternal.captureStandardError(LogLevel level) |
LoggingManagerInternal |
LoggingManagerInternal.captureStandardOutput(LogLevel level) |
StyledTextOutput |
StyledTextOutputFactory.create(Class logCategory,
LogLevel logLevel)
Creates a
StyledTextOutput with the given category and log level. |
StyledTextOutput |
StyledTextOutputFactory.create(String logCategory,
LogLevel logLevel)
Creates a
StyledTextOutput with the given category and log level. |
LoggingManagerInternal |
LoggingManagerInternal.setLevel(LogLevel logLevel) |
void |
LoggingConfiguration.setLogLevel(LogLevel logLevel) |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
DefaultLoggingManager.getLevel() |
abstract LogLevel |
OutputEvent.getLogLevel()
Returns the log level for this event.
|
LogLevel |
LogLevelChangeEvent.getLogLevel() |
LogLevel |
CategorisedOutputEvent.getLogLevel() |
LogLevel |
LoggingCommandLineConverter.getLogLevel(String commandLineArgument)
This returns the log level object represented by the command line argument
|
LogLevel |
LogLevelChangeEvent.getNewLogLevel() |
LogLevel |
DefaultLoggingManager.getStandardErrorCaptureLevel() |
LogLevel |
DefaultLoggingManager.getStandardOutputCaptureLevel() |
| Modifier and Type | Method and Description |
|---|---|
Collection<LogLevel> |
LoggingCommandLineConverter.getLogLevels()
This returns the log levels that are supported on the command line.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultLoggingManager |
DefaultLoggingManager.captureStandardError(LogLevel level) |
DefaultLoggingManager |
DefaultLoggingManager.captureStandardOutput(LogLevel level) |
void |
OutputEventRenderer.configure(LogLevel logLevel) |
void |
LoggingConfigurer.configure(LogLevel logLevel) |
void |
JavaUtilLoggingConfigurer.configure(LogLevel logLevel) |
void |
DefaultLoggingConfigurer.configure(LogLevel logLevel) |
StyledTextOutput |
AbstractStyledTextOutputFactory.create(Class logCategory,
LogLevel logLevel) |
StyledTextOutput |
StreamingStyledTextOutputFactory.create(String logCategory,
LogLevel logLevel) |
StyledTextOutput |
DefaultStyledTextOutputFactory.create(String logCategory,
LogLevel logLevel) |
String |
LoggingCommandLineConverter.getLogLevelCommandLine(LogLevel logLevel)
This returns the command line argument that represents the specified log level.
|
LoggingSystem.Snapshot |
NoOpLoggingSystem.on(LogLevel level) |
LoggingSystem.Snapshot |
LoggingSystemAdapter.on(LogLevel level) |
LoggingSystem.Snapshot |
LoggingSystem.on(LogLevel level)
Enables logging for this logging system at the given level.
|
DefaultLoggingManager |
DefaultLoggingManager.setLevel(LogLevel logLevel) |
StyledTextOutputEvent |
StyledTextOutputEvent.withLogLevel(LogLevel logLevel) |
| Constructor and Description |
|---|
CategorisedOutputEvent(long timestamp,
String category,
LogLevel logLevel) |
LogEvent(long timestamp,
String category,
LogLevel logLevel,
String message,
Throwable throwable) |
LoggingBackedStyledTextOutput(OutputEventListener listener,
String category,
LogLevel logLevel,
TimeProvider timeProvider) |
LogLevelChangeEvent(LogLevel newLogLevel) |
RenderableOutputEvent(long timestamp,
String category,
LogLevel logLevel) |
StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
List<StyledTextOutputEvent.Span> spans) |
StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
String text) |
StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
StyledTextOutput.Style style,
String text) |
StyledTextOutputEvent(long timestamp,
String category,
LogLevel logLevel,
StyledTextOutputEvent.Span... spans) |
| Modifier and Type | Method and Description |
|---|---|
void |
Slf4jLoggingConfigurer.configure(LogLevel logLevel) |
void |
SimpleSlf4jLoggingConfigurer.configure(LogLevel logLevel) |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
GradleRunnerInteractionWrapper.getLogLevel() |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
WorkerProcessBuilder.getLogLevel() |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkerProcessBuilder.setLogLevel(LogLevel logLevel) |
| Constructor and Description |
|---|
DefaultWorkerProcessFactory(LogLevel workerLogLevel,
MessagingServer server,
ClassPathRegistry classPathRegistry,
FileResolver resolver,
IdGenerator<?> idGenerator) |
| Constructor and Description |
|---|
ImplementationClassLoaderWorker(LogLevel logLevel,
Collection<String> sharedPackages,
Collection<URL> implementationClassPath,
Action<WorkerContext> workerAction) |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
NoOpLoggingManager.getLevel() |
LogLevel |
NoOpLoggingManager.getStandardErrorCaptureLevel() |
LogLevel |
NoOpLoggingManager.getStandardOutputCaptureLevel() |
| Modifier and Type | Method and Description |
|---|---|
LoggingManagerInternal |
NoOpLoggingManager.captureStandardError(LogLevel level) |
LoggingManagerInternal |
NoOpLoggingManager.captureStandardOutput(LogLevel level) |
LoggingManagerInternal |
NoOpLoggingManager.setLevel(LogLevel level) |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
ProviderOperationParameters.getBuildLogLevel() |
LogLevel |
AdaptedOperationParameters.getBuildLogLevel() |
Copyright © 2013. All rights reserved