For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

Logging

open class Logging(source)

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.

Since

0.7

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val LIFECYCLE: Marker
Returns the detached marker.
Link copied to clipboard
val QUIET: Marker
Returns the detached marker.

Functions

Link copied to clipboard
open fun getLogger(c: Class): Logger
Returns the logger for the given class.
open fun getLogger(name: String): Logger
Returns the logger with the given name.