Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.logging
Class Logging

    java.lang.Object
      org.gradle.api.logging.Logging

    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.

author:
  Hans Dockter

Nested Class Summary
`class` | `Logging.LoggerImpl`

Field Summary
`static Map` | `ANT_IVY_2_SLF4J_LEVEL_MAPPER`
`static Marker` | `DISABLED`
`static BasicMarker` | `LIFECYCLE`
`static Marker` | `PROGRESS`
`static Marker` | `QUIET`

Constructor Summary
`Logging()`

Method Summary
`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.

Methods inherited from class java.lang.Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Field Detail

### ANT_IVY_2_SLF4J_LEVEL_MAPPER

    static final Map ANT_IVY_2_SLF4J_LEVEL_MAPPER

### DISABLED

    static final Marker DISABLED

### LIFECYCLE

    static final BasicMarker LIFECYCLE

### PROGRESS

    static final Marker PROGRESS

### QUIET

    static final Marker QUIET

Constructor Detail

### Logging

    Logging()

Method Detail

### getLogger

    public static Logger getLogger(java.lang.Class c)

  Returns the logger for the given class.
  param:
    c the class.
  return:
    the logger. Never returns null.

### getLogger

    public static Logger getLogger(java.lang.String name)

  Returns the logger with the given name.
  param:
    name the logger name.
  return:
    the logger. Never returns null.

Groovy Documentation