Lines Matching refs:format
87 __attribute__((format(printf, 4, 5)));
136 #define printf(format, ...) \ argument
138 std::printf(format, ##__VA_ARGS__); \
139 DebugLogger::GetInstance()->Log(LEVEL_STDOUT, HILOG_TAG, format, ##__VA_ARGS__); \
144 #define perror(format, ...) \ argument
146 std::perror(format); \
147 DebugLogger::GetInstance()->Log(LEVEL_STDOUT, HILOG_TAG, format "<%d:%s>\n", \
174 #define HLOG(level, format, ...) \ argument
179 … HILOG_TAG_NAME "/" LOG_LEVEL(level) "<%ld>[%s:%d]%s:" format "\n", (long)(gettid()), \
187 #define HLOGV_FIRST(first, format, ...) \ argument
191 HLOG(LEVEL_VERBOSE, format, ##__VA_ARGS__); \
200 #define HLOGV_FIRST_LOCAL(local_limit, format, ...) \ argument
203 HLOG(LEVEL_VERBOSE, format, ##__VA_ARGS__); \
212 #define HLOGV_IF(condition, format, ...) \ argument
214 HLOG(LEVEL_VERBOSE, format, ##__VA_ARGS__) \
220 #define HLOGDUMMY(format, ...) while (0) argument
224 #define HLOGM(format, ...) HLOG(LEVEL_MUCH, format, ##__VA_ARGS__) argument
229 #define HLOGV(format, ...) HLOG(LEVEL_VERBOSE, format, ##__VA_ARGS__) argument
233 #define HLOGD(format, ...) HLOG(LEVEL_DEBUG, format, ##__VA_ARGS__) argument
238 #define HLOGI(format, ...) HLOG(LEVEL_INFO, format, ##__VA_ARGS__) argument
242 #define HLOGW(format, ...) HLOG(LEVEL_WARNING, format, ##__VA_ARGS__) argument
246 #define HLOGE(format, ...) HLOG(LEVEL_ERROR, format, ##__VA_ARGS__) argument
250 #define HLOGEP(format, ...) \ argument
251 HLOG(LEVEL_ERROR, format "(errno %d:%s)", ##__VA_ARGS__, errno, strerror(errno))
255 #define HLOGF(format, ...) \ argument
256 HLOG(LEVEL_FATAL, "FATAL error at %s:%d " format, __FILE__, __LINE__, ##__VA_ARGS__)
260 #define HLOG_ASSERT_MESSAGE(condition, format, ...) \ argument
262 HLOG(LEVEL_FATAL, " assert failed: '%s' " format, #condition, ##__VA_ARGS__); \