Package org.gradle.api.logging
Class Logging
java.lang.Object
org.gradle.api.logging.Logging
The main entry point for Gradle's logging system. Gradle routes all logging via SLF4J. You can use either an SLF4J
Logger
or a Gradle Logger
to perform logging.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
LIFECYCLE
public static final org.slf4j.Marker LIFECYCLE -
QUIET
public static final org.slf4j.Marker QUIET
-
-
Constructor Details
-
Logging
public Logging()
-
-
Method Details
-
getLogger
Returns the logger for the given class.- Parameters:
c
- the class.- Returns:
- the logger. Never returns null.
-
getLogger
Returns the logger with the given name.- Parameters:
name
- the logger name.- Returns:
- the logger. Never returns null.
-