# Logger

The Logger provides a centralized view of script execution, allowing you to monitor and debug your code in real time. The Logger captures output from the UniotLisp interpreter, including:

* **Primitive Logs** - Displays interactions with primitives, such as values read from or written to pins.
* **Event Logs** - Shows triggered events and their associated values.

In future updates, the Logger will also include logs sent by the print block from the "Text" section, enabling detailed insights into MQTT communications and script outputs.

The Logger is an essential tool for understanding the behavior of your script and ensuring its reliability before deployment.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uniot.io/platform/sandbox/logger.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
