Change Color of Log Text

It looks like you are trying to write your own log file, there are already wiki pages that explain how to do it (its where my example came from).

How to write a custom log file with netmode and colour

Paste your code up, because my logs do come out in cyan, so that SET_WARN_COLOR works for me.