# All of my custom Debug logs are not allowing me to compile my code

**URL:** <https://forums.unrealengine.com/t/all-of-my-custom-debug-logs-are-not-allowing-me-to-compile-my-code/452324>\
**Category:** C++\
**Tags:** error, logging, unreal-engine, CPP, question, compilation-log\
**Created:** [July 15, 2019, 9:07pm UTC](https://forums.unrealengine.com/t/all-of-my-custom-debug-logs-are-not-allowing-me-to-compile-my-code/452324 "2019-07-15T21:07:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Przemek2222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Przemek2222](https://forums.unrealengine.com/u/Przemek2222)\
**Post date:** [July 15, 2019, 9:16pm UTC](https://forums.unrealengine.com/t/all-of-my-custom-debug-logs-are-not-allowing-me-to-compile-my-code/452324/2 "2019-07-15T21:16:53Z")

</div>

Hello,

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

I’m pretty sure there is log category in a cpp.

DECLARE\_LOG\_CATEGORY\_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity);

So you should invert your declaration. From CPP to H and from H to CPP.

---

_[View the full topic](https://forums.unrealengine.com/t/all-of-my-custom-debug-logs-are-not-allowing-me-to-compile-my-code/452324)._
