Skip to content

在UE下用类似Debug.Log的方式打印日志,且有日志代码行数等信息

Notifications You must be signed in to change notification settings

hont127/UnityStyleUE_LOG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

UnityStyleUE_LOG

Unity Style UE_LOG

#include "YourPath/Debug.h"
...
Debug_Log_Format("Name:%s", TEXT("Bob"));
//Print: LogTemp: Name:Bob
//(D:/Project/Source/Private/ClassA.cpp Line:40 Func:ClassA::TickComponent)
Debug_Warning_Format("Name:%s", TEXT("Bob"));
Debug_Error_Format("Name:%s", TEXT("Bob"));

And Debug Bool:

Debug_Log_Format("Bool Value:%s", DebugBool(true));

About

在UE下用类似Debug.Log的方式打印日志,且有日志代码行数等信息

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages