api / org.gradle.api.logging / Logging / getLogger

getLogger

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

Returns the logger for the given class.

Parameters

c - the class.

Return
the logger. Never returns null.

open static fun getLogger(name: String): Logger

Returns the logger with the given name.

Parameters

name - the logger name.

Return
the logger. Never returns null.