SWDEV-209747 - Enable DevLogs on DEBUG or DEV_LOG_ENABLE Compiletime var
Change-Id: Ie5b7855c469f03947b680d4844c1657cbae55b11
This commit is contained in:
1 orang tua
339a830bc0
melakukan
8931ac106c
2 files changed
+5
-1
No files matched your search
@@ -215,7 +215,7 @@ inline void warning(const char* msg) { amd::report_warning(msg); }
|
||||
#define LogPrintfWarning(format, ...) ClPrint(amd::LOG_WARNING, amd::LOG_ALWAYS, format, __VA_ARGS__)
|
||||
#define LogPrintfInfo(format, ...) ClPrint(amd::LOG_INFO, amd::LOG_ALWAYS, format, __VA_ARGS__)
|
||||
|
||||
#ifdef DEV_LOG_ENABLE
|
||||
#if (defined(DEBUG) || defined(DEV_LOG_ENABLE))
|
||||
#define DevLogPrintfError(format, ...) LogPrintfError(format, __VA_ARGS__)
|
||||
#define DevLogError(msg) LogError(msg)
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user