define KeywordLogger and generate Object
KeywordLogger log = new KeywordLogger()
(KeywordLogger class full-path : com.kms.katalon.core.logging.KeywordLogger)
and now you use this method
log.logFailed(‘something your record String’)
then, you will find Test Report open .html file
and custom fail log