# Use Realtime App Logger

## Purpose

As developers, we know that we have to have logs in order to debug our code. That's why we created the Realtime App Logger. It displays all console logs from your application, get this, in *realtime.*

## Usage Tips

* Add console logs wherever you're running into issues with your code
* By default, the action name, method, body, and query params are logged to the realtime logger, so you can pinpoint if the data from the frontend is in the right format or if it's the action code that needs to be fixed.

<figure><img src="/files/Izgk6juOdUAUIDWCC4Pr" alt=""><figcaption><p>Screenshot of the logger</p></figcaption></figure>


---

# 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://deplyr.gitbook.io/docs/use-realtime-app-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.
