This function is used to capture the log message of a specific request, you need to check the option of always send the log option in run time. It will print the log message for specific request where u have placed it. It helps to debug the script if it's failing at specific request. Use F10 to understand step by step execution.