Download

Lazy LOG

I think this is my first post hope more will come.

Well for those tooo lazy to write UE_LOG(…) bla bla i made this but works only for c++ projects i guess.

Add this code to your project header file (YourProject.h) after #include “Engine.h” and done.


DEFINE_LOG_CATEGORY_STATIC(LogYourProject, Log, Log)

#define TRACE(Format, ...) \
{\
    FMsg::Logf(__FILE__, __LINE__, LogYourProject.GetCategoryName(), ELogVerbosity::Log, UTF8_TO_TCHAR(Format), ##__VA_ARGS__); \
}

Use Ex:

TRACE(“Hello World %d”, 10);

PS: I’m new at this and might be wrong approach but it worked for me :slight_smile: And why TRACE because <3 ActionScript :stuck_out_tongue: