SWDEV-209747 - Enable DevLogs on DEBUG or DEV_LOG_ENABLE Compiletime var

Change-Id: Ie5b7855c469f03947b680d4844c1657cbae55b11
This commit is contained in:
kjayapra-amd
2020-05-05 09:52:24 -04:00
committed by Karthik Jayaprakash
parent 339a830bc0
commit 8931ac106c
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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