# Detail Logger

Detail Logger is similar to the Error Logger but is used to provide logs at the item level. Detail Logger marks every single entity(like each product, customer, or order) inside the loop as a **Success** or **Failure**.

This can be viewed by clicking the "View" button in the Logs section.

<figure><img src="/files/xiSox0ptKcSopIznJl7C" alt=""><figcaption></figcaption></figure>

### Options

* ***Status*** - Status of the execution. Success or Failure
* ***Entity ID*** - ID of the entry. Useful in identifying if the entities succeeded or failed. Exampl&#x65;*:* `{{2.item.product_id}}`
* ***Short Message*** - Content to be logged. Keep it short and readable.
* ***Detailed Message*** - Log request or response information in more detail, in case of failures. Otherwise, avoid logging large data as it might slow down the logs page.

### Examples

**Success Entity Use Case**

* Status: `Success`
* Entity ID: `{{2.item.product_id}}`
* Short Message: `Product {{2.item.product_id}} Created`
* Detailed Message: Empty. As it is not needed.

**Failure Entity Use Case**

* Status: `Failure`
* Entity ID: `{{2.item.product_id}}`
* Short Message: `Product ID: {{2.item.product_id}}, Error: {{2.item.error_message}}`
* Detailed Message: `{{2.item}}`


---

# 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.dckapintegrator.com/project-manager/workflows/actions/detail-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.
