FailureHandling.OPTIONAL custom message print issue using KeywordUtil

got the solution

if(WebUI.setText(findTestObject(‘Page_Facebook log in or sign up/input_email’), ‘ayx@gmail.com’, FailureHandling.OPTIONAL))
{
KeywordUtils.logInfo(“enter your string”)

or
KeywordLogger log = new KeywordLogger
log.loginfo(“enter your string”)
}