> For the complete documentation index, see [llms.txt](https://docs.gradient.works/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gradient.works/kb/automation-builder-kit-abk/actions/logging/logaction.md).

# Log Message

Publish a message to the Gradient Works Log. This is useful for debugging your Flows.

## Inputs

| Name              | Required | Type    | Description                                                                                       |
| ----------------- | -------- | ------- | ------------------------------------------------------------------------------------------------- |
| level             | Yes      | Integer | The importance level of the log message: from TRACE (lowest level) to ERROR (highest level).      |
| message           | Yes      | String  | The message to include in the log. Merge fields will be merged before publishing the log message. |
| flowInterviewGuid | No       | String  | A unique identifier for the running Flow "interview". This will be automatically provided.        |

## Outputs

| Name    | Type   | Description                      |
| ------- | ------ | -------------------------------- |
| message | String | The message published to the log |
