Out of interest, why do it as a separate header file? I can’t see the benefit of your approach over the wiki version, other than it provides the line number
https://wiki.unrealengine.com/Log_Macro_with_Netmode_and_Colour
If you follow the wiki, you don’t need to include a .h, and it deals with parameter passing so you dont need multiple versions. Once I figure out which part of your script is doing the line numbers I’ll update the wiki later