api / org.gradle.api.logging

Package org.gradle.api.logging

Types

LogLevel

class LogLevel

The log levels supported by Gradle.

Logger

interface Logger : Logger

An extension to the SLF4J Logger interface, which adds the quiet and lifecycle log levels.

You can obtain a Logger instance using Logging#getLogger(Class) or . A Logger instance is also available through , org.gradle.api.Task#getLogger() and .

Logging

open class Logging

The main entry point for Gradle's logging system. Gradle routes all logging via SLF4J. You can use either an SLF4J org.slf4j.Logger or a Gradle Logger to perform logging.

LoggingManager

interface LoggingManager : LoggingOutput

A LoggingManager provides access to and control over the Gradle logging system. Using this interface, you can control standard output and error capture and receive logging events.

LoggingOutput

interface LoggingOutput

Provides access to the output of the Gradle logging system.

StandardOutputListener

interface StandardOutputListener

A StandardOutputListener receives text written by Gradle's logging system to standard output or error.