getMessage

fun getMessage(key: MessageKey<*, *>, vararg args: Any): String

Retrieves a system message using the default locale.

Return

The formatted system message.

Parameters

key

The message key.

args

Arguments to format the message.