---
schema_version: "1"
id: db21fae1218b8bb57c6e6c26fafe3fb5a3209ef021ed467b2560fb007a8ac6fd
title: logDebug
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.12/dw-core-functions-logdebug.md
canonical_url: https://docs.mulesoft.com/dataweave/2.12/dw-core-functions-logdebug
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 25b4904785c2d205566b3a64d27205d75107b12f47e7c1ff45d4ac31c60591ec
description: MuleSoft Documentation Site
release: "2.12"
latest: false
---
---
product: DataWeave
version: 2.12
---

# 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>
