We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee92085 commit 5a816aeCopy full SHA for 5a816ae
engine/src/Log.h
@@ -15,6 +15,9 @@ class Log
15
};
16
17
// log macros
18
+//
19
+// example use:
20
+// YOA_INFO("Some logging message - [{0}:\t{1}]", __FILE__, __LINE__);
21
#define YOA_TRACE(...) { auto log = ::Log::GetCoreLogger(); if(log)log->trace(__VA_ARGS__); };
22
#define YOA_INFO(...) { auto log = ::Log::GetCoreLogger(); if(log)log->info(__VA_ARGS__); };
23
#define YOA_WARN(...) { auto log = ::Log::GetCoreLogger(); if(log)log->warn(__VA_ARGS__); };
0 commit comments