Change the Color of Log Text

I did some testing. It doesn’t appear to work in 4.24.

  1. Code is in the header file. #include “Misc/OutputDevice.h” as well (which also contains instructions on use)
  2. Building colour table in the format: RGBB, e.g. bright red: 1001, dark red: 1000
  3. Also just tried COLOR_PURPLE (and again with the namespace, fetches the colour code fine in both cases)
  4. Tried both SET_WARN_COLOR(COLOR_PURPLE) and its actual command: UE_LOG(LogTemp, SetColor, TEXT("%s"), COLOR_PURPLE); (original logspace isn’t LogTemp though, it’s LogHAL)
  5. Tried Log, Warning and Error log channels

Nothing. Bit annoyed, like you guys I can’t read red on grey, and it would have been nice to be able to print to the log in a similar way that we can print colour strings to the HUD.

I hope this gets fixed.