Browse Source

modify clang

tags/v1.2.0
wangxiaotian22 3 years ago
parent
commit
bcd0fc5111
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      inc/framework/common/debug/ge_log.h

+ 1
- 2
inc/framework/common/debug/ge_log.h View File

@@ -58,8 +58,7 @@ inline bool IsLogEnable(int module_name, int log_level) {

#define GELOGE(ERROR_CODE, fmt, ...) \
dlog_error(GE_MODULE_NAME, "%lu %s: ErrorNo: %d(%s) " fmt, GeLog::GetTid(), __FUNCTION__, ERROR_CODE, \
((GE_GET_ERRORNO_STR(ERROR_CODE)).c_str()), \
##__VA_ARGS__)
((GE_GET_ERRORNO_STR(ERROR_CODE)).c_str()), ##__VA_ARGS__)
#define GELOGW(fmt, ...) \
if (IsLogEnable(GE_MODULE_NAME, DLOG_WARN)) \
dlog_warn(GE_MODULE_NAME, "%lu %s:" fmt, GeLog::GetTid(), __FUNCTION__, ##__VA_ARGS__)


Loading…
Cancel
Save