---
schema_version: "1"
id: b88b63153eb9f636aae393e6983cf94309064be4d2179f1d6e1db27eb014fa1e
title: logDebug
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/latest/dw-core-functions-logdebug.md
canonical_url: https://docs.mulesoft.com/dataweave/latest/dw-core-functions-logdebug
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 01a5289a73f085c77c9340c825a50a217c028dd15ed70de62d7aacf733b05a3d
description: MuleSoft Documentation Site
release: "2.13"
latest: true
---
---
product: DataWeave
version: 2.13
is-latest-version: true
---

# logDebug

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## logDebug<T>(prefix: String = "", value: T): T

Helper function that logs messages at `Debug` level.

_Introduced in DataWeave version 2.10.0._

### Parameters

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><code>prefix</code></p></td><td><p>An optional string that typically describes the log.</p></td></tr><tr><td><p><code>value</code></p></td><td><p>The value to log.</p></td></tr></tbody></table>
