# Working with Robot Log

At the bottom of the designer window, there is a header "Log".

Here, messages about the robot's startup process and its execution process are displayed. You can also see messages that can be sent to the log directly via the "Log" block, as well as messages about errors that occur during operation.

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-01-26.png)

Send a message to the log. Connect the "Log" block, and set the property value to "New log entry".

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-04-14.png)

Save. In the log, click the Clear button to delete old entries. Start the robot.

Three new entries appeared in the log: that the robot started, the specified text, and an entry indicating that the robot finished its work (the time spent is indicated).

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-05-30.png)

The "Log" block has a property "Display in status"

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-07-38.png)

This is a checkbox, and if it is checked, a message will appear at the top of the screen, duplicating the value specified in the properties. Start the robot and verify this.

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-09-17.png)

The message flashes at the top of the screen very quickly, and if you need to pause it, you can use the "Pause" block. It pauses the execution of the scenario action for a specified number of seconds or milliseconds. Pause the scenario execution for 5 seconds.

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-11-14.png)

An important property of this block is "Run immediately," i.e., the delay will be applied immediately on the first pass of this block from the moment the robot starts. Thus, if the checkbox is not checked, the delay is only applied from the second pass of the block. Leave the checkbox checked and run the scenario. The message "New log entry" is delayed at the top of the screen for 5 seconds. Note that since the property value has a button with three dots next to the field, clicking this button will open the expression editor, allowing you to perform various calculations right here.

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-15-55.png)

You can enter, for example, the expression 5\*12

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-17-16.png)

The result:

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-24-02.png)

You can add text. Add the text constant "Result" (quotes are required) to the value.

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-18-23.png)

Parentheses indicate the priority of execution. Save and run the robot.

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-26-00.png)

That is, the robot first performed the arithmetic operation, and then when trying to add text and a number, it converted the result to text.

You can also take variable a2, assign it the value 5, and in the log properties, replace the number 5 in the expression with the value of variable a2.

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-22-05.png)

Variable a2 is a number and holds the initial value of 5, so the output result should not change.

![](https://sherparpa.ru/wp-content/uploads/2024/02/2024-02-19_22-27-08.png)

The result did not change.
