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.

getLogger

open fun getLogger(c: Class): Logger(source)

Returns the logger for the given class.

Return

the logger. Never returns null.

Since

0.8

Parameters

c

the class.


open fun getLogger(name: String): Logger(source)

Returns the logger with the given name.

Return

the logger. Never returns null.

Since

0.8

Parameters

name

the logger name.