I wanted to shorten the UE_LOG cause its too long. how do I use this properly? It seems working without calling any header file but the intellisense gives red squiggly line
/////////////
ProjectHeader.h
#define LOG(msg) __pragma(message(“Logging”)) UE_LOG(LogTemp, Warning, TEXT(“%s”), *FString(msg))
#define LOGF(…) UE_LOG(LogTemp, Warning, TEXT(VA_ARGS))
/////////////
TurnBaseSystem.h
void UTurnBaseSubsystem::Initialize(FSubsystemCollectionBase& Collection)
{
Super::Initialize(Collection);///////////////////////// // DEBUGE StartCombat();
LOG(“Aasdasdsasd”);
}
LOG() returns red squiggly and error, its executed from UE perfectly fine though.