Created a custom Log Entry, but can’t get it to actually display in the LOG in PIE…
Read through thisfrom Rama, and I’m assuming it’s because I don’t have the ‘GameCommandLine=-Log’ anywhere in DefaultEngine.ini, but the tutorial doesn’t say which square-header it should be under. I’ve tried [Startup] and , both to no avail.
Here’s the code:
void UTLEComponent::CalculateTLEPath(FVector Velocity, FVector Position)
{
int32 Year, Month, DayOfWeek, Day, Hour, Min, Sec, MSec;
FPlatformTime::SystemTime(Year, Month, DayOfWeek, Day, Hour, Min, Sec, MSec);
UE_LOG(LogGESTLE, All, TEXT("Calculating TLE: Velocity = '%f %f %f' : Position = '%f %f %f' : Timestamp = '%i Hr, %i Min, %i Sec, %i MSec"), Velocity.X, Velocity.Y, Velocity.Z, Position.X, Position.Y, Position.Z, Hour, Min, Sec, MSec);
}
DECLARE_LOG_CATEGORY_EXTERN(LogGES, Log, All);
DECLARE_LOG_CATEGORY_EXTERN(LogGESTLE, Log, All);
DEFINE_LOG_CATEGORY(LogGES);
DEFINE_LOG_CATEGORY(LogGESTLE);