console writeline kotlin

The correct function to print to the console in Kotlin is println(). This function is used to print the message to the standard output.