Slackbot
02/22/2023, 12:37 PMAdam S
02/22/2023, 1:55 PMthis
. Kotlin is being succinct and deducing that R
for your logger function is the companion.
If we make it more verbose…
val something: Logger = logger()
is equivalent to
val something: Logger = Companion.logger()