Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 10 of 10) sorted by relevance

/chre-3.4.0/util/include/chre/util/nanoapp/
Dlog.h45 #define CHRE_LOG_TAG(level, tag, fmt, ...) \ argument
48 chreLog(level, "%s " fmt, tag, ##__VA_ARGS__); \
53 #define LOGE_TAG(tag, fmt, ...) \ argument
54 CHRE_LOG_TAG(CHRE_LOG_ERROR, tag, fmt, ##__VA_ARGS__)
56 #define LOGE_TAG(tag, fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument
58 #define LOGE(fmt, ...) LOGE_TAG(LOG_TAG, fmt, ##__VA_ARGS__) argument
61 #define LOGW_TAG(tag, fmt, ...) \ argument
62 CHRE_LOG_TAG(CHRE_LOG_WARN, tag, fmt, ##__VA_ARGS__)
64 #define LOGW_TAG(tag, fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument
66 #define LOGW(fmt, ...) LOGW_TAG(LOG_TAG, fmt, ##__VA_ARGS__) argument
[all …]
/chre-3.4.0/platform/slpi/include/chre/target_platform/
Dlog.h49 #define CHRE_BUFFER_LOG(level, fmt, ...) \ argument
52 chrePlatformLogToBuffer(level, fmt, ##__VA_ARGS__); \
55 #define LOGE(fmt, ...) CHRE_BUFFER_LOG(CHRE_LOG_ERROR, fmt, ##__VA_ARGS__) argument
56 #define LOGW(fmt, ...) CHRE_BUFFER_LOG(CHRE_LOG_WARN, fmt, ##__VA_ARGS__) argument
57 #define LOGI(fmt, ...) CHRE_BUFFER_LOG(CHRE_LOG_INFO, fmt, ##__VA_ARGS__) argument
58 #define LOGD(fmt, ...) CHRE_BUFFER_LOG(CHRE_LOG_DEBUG, fmt, ##__VA_ARGS__) argument
59 #define LOGV(fmt, ...) CHRE_BUFFER_LOG(CHRE_LOG_VERBOSE, fmt, ##__VA_ARGS__) argument
63 #define CHRE_SEND_TOKENIZED_LOG(level, fmt, ...) \ argument
66 PW_TOKENIZE_TO_GLOBAL_HANDLER_WITH_PAYLOAD((void *)level, fmt, \
70 #define LOGE(fmt, ...) \ argument
[all …]
/chre-3.4.0/platform/linux/include/chre/target_platform/
Dlog.h32 #define CHRE_LINUX_LOG(logLevel, levelStr, color, fmt, ...) \ argument
33 printf("\e[" color "m%s %s:%d\t" fmt "\e[0m\n", levelStr, __FILENAME__, \
38 #define CHRE_LINUX_LOG(logLevel, levelStr, color, fmt, ...) \ argument
41 logLevel, "\e[" color "m%s %s:%d\t" fmt "\e[0m", levelStr, \
46 #define LOGE(fmt, ...) \ argument
47 CHRE_LINUX_LOG(CHRE_LOG_ERROR, "E", "91", fmt, ##__VA_ARGS__)
48 #define LOGW(fmt, ...) \ argument
49 CHRE_LINUX_LOG(CHRE_LOG_WARN, "W", "93", fmt, ##__VA_ARGS__)
50 #define LOGI(fmt, ...) \ argument
51 CHRE_LINUX_LOG(CHRE_LOG_INFO, "I", "96", fmt, ##__VA_ARGS__)
[all …]
/chre-3.4.0/platform/android/include/chre/target_platform/
Dlog.h29 #define CHRE_ANDROID_LOG(level, fmt, ...) \ argument
30 __android_log_print(level, ANDROID_LOG_TAG, "%s:%d\t" fmt, __FILENAME__, \
33 #define LOGE(fmt, ...) CHRE_ANDROID_LOG(ANDROID_LOG_ERROR, fmt, ##__VA_ARGS__) argument
35 #define LOGW(fmt, ...) CHRE_ANDROID_LOG(ANDROID_LOG_WARN, fmt, ##__VA_ARGS__) argument
37 #define LOGI(fmt, ...) CHRE_ANDROID_LOG(ANDROID_LOG_INFO, fmt, ##__VA_ARGS__) argument
39 #define LOGD(fmt, ...) CHRE_ANDROID_LOG(ANDROID_LOG_DEBUG, fmt, ##__VA_ARGS__) argument
/chre-3.4.0/chpp/platform/linux/include/chpp/platform/
Dplatform_log.h38 #define CHPP_LINUX_LOG(level, color, fmt, ...) \ argument
42 printf("\e[" color "m%s %s:%d\t (%s) " fmt "\e[0m\n", level, __FILENAME__, \
46 #define CHPP_LOGE(fmt, ...) CHPP_LINUX_LOG("E", "91", fmt, ##__VA_ARGS__) argument
47 #define CHPP_LOGW(fmt, ...) CHPP_LINUX_LOG("W", "93", fmt, ##__VA_ARGS__) argument
48 #define CHPP_LOGI(fmt, ...) CHPP_LINUX_LOG("I", "96", fmt, ##__VA_ARGS__) argument
49 #define CHPP_LOGD(fmt, ...) CHPP_LINUX_LOG("D", "97", fmt, ##__VA_ARGS__) argument
/chre-3.4.0/util/include/chre/util/
Dlog_common.h35 inline void chreLogNull(const char *fmt, ...) { in chreLogNull() argument
36 (void)fmt; in chreLogNull()
41 #define CHRE_LOG_NULL(fmt, ...) \ argument
44 chreLogNull(fmt, ##__VA_ARGS__); \
/chre-3.4.0/platform/include/chre/platform/
Dassert.h63 #define CHRE_ASSERT_LOG(condition, fmt, ...) \ argument
66 LOGE("Assert: " fmt, ##__VA_ARGS__); \
76 #define CHRE_ASSERT_LOG_IF_NOT_TEST(condition, fmt, ...) argument
79 #define CHRE_ASSERT_LOG_IF_NOT_TEST(condition, fmt, ...) \ argument
80 CHRE_ASSERT_LOG(condition, fmt, ##__VA_ARGS__)
Dfatal_error.h39 #define FATAL_ERROR(fmt, ...) \ argument
41 LOGE(fmt, ##__VA_ARGS__); \
/chre-3.4.0/chpp/include/chpp/
Dmacros.h55 #define CHPP_ASSERT_LOG(var, fmt, ...) \
58 CHPP_LOGE(fmt, ##__VA_ARGS__); \
80 #define CHPP_DEBUG_ASSERT_LOG(var, fmt, ...) \
83 CHPP_LOGE(fmt, ##__VA_ARGS__); \
/chre-3.4.0/apps/sensor_world/
Dsensor_world.cc229 #define CLOGI(fmt, ...) \ argument
232 LOGI(fmt, ##__VA_ARGS__); \