api / org.gradle.api.logging / Logging

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.

Constructors

<init>

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.

Properties

LIFECYCLE

static val LIFECYCLE: Marker

QUIET

static val QUIET: Marker

Functions

getLogger

open static fun getLogger(c: Class<Any>): Logger

Returns the logger for the given class.

open static fun getLogger(name: String): Logger

Returns the logger with the given name.