public class Logging
extends java.lang.Object
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.
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Marker |
LIFECYCLE |
static org.slf4j.Marker |
QUIET |
Constructor and Description |
---|
Logging() |
Modifier and Type | Method and Description |
---|---|
static Logger |
getLogger(java.lang.Class c)
Returns the logger for the given class.
|
static Logger |
getLogger(java.lang.String name)
Returns the logger with the given name.
|
public static final org.slf4j.Marker LIFECYCLE
public static final org.slf4j.Marker QUIET
public static Logger getLogger(java.lang.Class c)
c
- the class.public static Logger getLogger(java.lang.String name)
name
- the logger name.