# Logs

Logs provide a way to understand how your tests are working and also a way to see critical information for specific clients at different iterations. You can `console.log()` or `console.error()` in your tests and log critical information for the clients.

![](/files/FbgYQwMO2kunnftnX7GW)

You can easily find the logs for a particular device and see the logs at every iteration. Along with the user logs, system logs are for each iteration are also captured and displayed here.

{% hint style="info" %}
Double-tap any of the logs to pretty-print the logs for that iteration.&#x20;
{% endhint %}


---

# 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.iotify.io/getting-started/analyze-the-results/logs.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.
