SWDEV-209747 - Enable DevLogs on DEBUG or DEV_LOG_ENABLE Compiletime var
Change-Id: Ie5b7855c469f03947b680d4844c1657cbae55b11
This commit is contained in:
committed by
Karthik Jayaprakash
parent
339a830bc0
commit
8931ac106c
@@ -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