Klasse Logging

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

public class Logging extends 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.

  • Felddetails

    • LIFECYCLE

      public static final org.slf4j.Marker LIFECYCLE
    • QUIET

      public static final org.slf4j.Marker QUIET
  • Konstruktordetails

    • Logging

      public Logging()
  • Methodendetails

    • getLogger

      public static Logger getLogger(Class c)
      Returns the logger for the given class.
      Parameter:
      c - the class.
      Gibt zurück:
      the logger. Never returns null.
    • getLogger

      public static Logger getLogger(String name)
      Returns the logger with the given name.
      Parameter:
      name - the logger name.
      Gibt zurück:
      the logger. Never returns null.