So I’m essentially trying to inject a prefix of [MyClassName] before the string. I’ve tried so many different combinations of things, but it’s just quoting the wrong things instead of evaluating. I really don’t want to do this, but I even tried putting a %s before the string to try to inject the prefix that way with the way UE_LOG works, but I couldn’t figure that out either.
Keep in mind that sooner or later, you’ll want to use different logging categories, and verbosity levels. There’s a reason why we have it this way. Every post you make is basically “how to work outside of the Unreal Engine environment using Unreal Engine”. Don’t fight the engine, it’s not worth it.
Doing this has saved me a lot of space and makes my code neater. The engine is too rigid - that’s why the learning curve is so brutal - and I need to figure out ways to make it more flexible because it seems flashy new rendering is all the developers seem to care about, not the basics.