To use “keywordutil” you need the appropriate “import” statement. If you hit the 3-key combination, CTRL+SHIFT+O (oh), then the appropriate “import” statements will appear and those that are not used, will be deleted.
import com.kms.katalon.core.util.KeywordUtil as KeywordUtil
Another way to get text to display in the log viewer is to use:
WebUI.comment("your text here")
or
WebUI.comment("your text and ${myVariable} values")
Note the use of double quotes to surround your text and variables. You can use single quotes if you only have text.
Edit: And, information on KeywordLogger can be found here.