# How do I log something from UXP C++ addone?

**URL:** <https://forums.creativeclouddeveloper.com/t/how-do-i-log-something-from-uxp-c-addone/11005>\
**Category:** UXP Plugin API\
**Tags:** uxp, javascript\
**Created:** [June 5, 2025, 9:52am UTC](https://forums.creativeclouddeveloper.com/t/how-do-i-log-something-from-uxp-c-addone/11005 "2025-06-05T09:52:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![diredko](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@diredko](https://forums.creativeclouddeveloper.com/u/diredko)\
**Post date:** [June 5, 2025, 9:52am UTC](https://forums.creativeclouddeveloper.com/t/how-do-i-log-something-from-uxp-c-addone/11005/1 "2025-06-05T09:52:26Z")

</div>

How do I print logs from UXP C++ addon and where are they stored on Win and on Mac

---

<div class="post-metadata">

**Author:** ![Kayrock](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kayrock/32/4748_2.png) [@Kayrock](https://forums.creativeclouddeveloper.com/u/Kayrock)\
**Post date:** [July 9, 2026, 8:20pm UTC](https://forums.creativeclouddeveloper.com/t/how-do-i-log-something-from-uxp-c-addone/11005/2 "2026-07-09T20:20:30Z")

</div>

Your addon is native code in the Photoshop process, so `console.log` isn’t available

The quickest and dirtiest solutions are to 1.) launch Photoshop from a terminal and `fprintf(stderr, ...)`or 2.) append to a file, writing to an absolute path that’s writable like /tmp
