# Logging functions in ui template

**URL:** <https://discourse.nodered.org/t/logging-functions-in-ui-template/70388>\
**Category:** Dashboard\
**Created:** [10 November 2022 10:32 UTC](https://discourse.nodered.org/t/logging-functions-in-ui-template/70388 "2022-11-10T10:32:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andro](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andro/32/70042_2.png) [@andro](https://discourse.nodered.org/u/andro)\
**Post date:** [10 November 2022 10:32 UTC](https://discourse.nodered.org/t/logging-functions-in-ui-template/70388/1 "2022-11-10T10:32:30Z")

</div>

Can you use logging functions such as console.log() and node.log() in the Angular in the ui template node? No output appears, but they work fine in the function node.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [10 November 2022 10:56 UTC](https://discourse.nodered.org/t/logging-functions-in-ui-template/70388/2 "2022-11-10T10:56:22Z")

</div>

The code in a ui-template execute client side, console.log should log in the developers section of the browser.

---

<div class="post-metadata">

**Author:** ![andro](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andro/32/70042_2.png) [@andro](https://discourse.nodered.org/u/andro)\
**Post date:** [10 November 2022 11:11 UTC](https://discourse.nodered.org/t/logging-functions-in-ui-template/70388/3 "2022-11-10T11:11:33Z")

</div>

@E1cid thank you! I see all the output. You can see I am a newbie. Most appreciated!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 November 2022 11:11 UTC](https://discourse.nodered.org/t/logging-functions-in-ui-template/70388/4 "2022-11-24T11:11:40Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
