# Change the Color of Log Text

**URL:** <https://forums.unrealengine.com/t/change-the-color-of-log-text/29320>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [May 5, 2015, 10:31pm UTC](https://forums.unrealengine.com/t/change-the-color-of-log-text/29320 "2015-05-05T22:31:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![GeekyPayback](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GeekyPayback](https://forums.unrealengine.com/u/GeekyPayback)\
**Post date:** [May 8, 2015, 9:15am UTC](https://forums.unrealengine.com/t/change-the-color-of-log-text/29320/6 "2015-05-08T09:15:25Z")

</div>

I think set warn colour actually only works when you use the log parameter, second one in on the example below (rather than warn or error)

```auto

UE_LOG( LogYourCategory, Log, TEXT("%s%s() : %s"), NETMODE_WORLD, FUNC_NAME, *Msg);\

```

My suspicion is that warn and error have their own overrides.

You have to use CLEAR\_WARN\_COLOR afterwards to go back to how it was. As I said on the answers page, there’s a wiki about custom log files here

> **[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...

---

_[View the full topic](https://forums.unrealengine.com/t/change-the-color-of-log-text/29320)._
