# Custom logger callback

**URL:** <https://qa.fmod.com/t/custom-logger-callback/20357>\
**Category:** FMOD Engine\
**Tags:** cpp\
**Created:** [June 27, 2023, 3:06pm UTC](https://qa.fmod.com/t/custom-logger-callback/20357 "2023-06-27T15:06:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hp1link2](https://avatars.discourse-cdn.com/v4/letter/h/e274bd/32.png) [@hp1link2](https://qa.fmod.com/u/hp1link2)\
**Post date:** [June 27, 2023, 3:06pm UTC](https://qa.fmod.com/t/custom-logger-callback/20357/1 "2023-06-27T15:06:47Z")

</div>

Hi everyone, is FMOD engine have way to log output to custom output or something like that? Because FMOD log version output only in to VS Debugger Output, and is not to comfortable when you don’t have access to VS. Or logging version of FMOD engine is supposed using only with debug build of game\game engine?

 ![VSDebugOutput](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/4/472538edf8c4ec4ce7b90dcce76df07ef63d621e.png)

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [June 29, 2023, 6:03am UTC](https://qa.fmod.com/t/custom-logger-callback/20357/2 "2023-06-29T06:03:47Z")

</div>

Hi,

You can indeed log to a custom output - [`Debug_Initialize`](https://www.fmod.com/docs/2.02/api/core-api-common.html#debug_initialize) allows you to specify a debug output to use with [`FMOD_DEBUG_MODE`](https://www.fmod.com/docs/2.02/api/core-api-common.html#fmod_debug_mode); either to TTY, to a file, or to a custom [callback](https://www.fmod.com/docs/2.02/api/core-api-common.html#fmod_debug_mode). If you have any further questions, feel free to ask!

---

<div class="post-metadata">

**Author:** ![hp1link2](https://avatars.discourse-cdn.com/v4/letter/h/e274bd/32.png) [@hp1link2](https://qa.fmod.com/u/hp1link2)\
**Post date:** [June 29, 2023, 9:33am UTC](https://qa.fmod.com/t/custom-logger-callback/20357/3 "2023-06-29T09:33:04Z")

</div>

Thank you.
