api / org.gradle.api / Script / getLogger

getLogger

abstract fun getLogger(): Logger

Returns the logger for this script. You can use this in your script to write log messages.

Return
The logger. Never returns null.