Lines Matching refs:LOG_TAG

67 #ifndef LOG_TAG
68 #define LOG_TAG NULL
74 * Simplified macro to send a verbose log message using the current LOG_TAG.
80 #define ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
92 ? ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__)) \
98 * Simplified macro to send a debug log message using the current LOG_TAG.
101 #define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
107 ? ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__)) \
112 * Simplified macro to send an info log message using the current LOG_TAG.
115 #define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
121 ? ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__)) \
126 * Simplified macro to send a warning log message using the current LOG_TAG.
129 #define ALOGW(...) ((void)ALOG(LOG_WARN, LOG_TAG, __VA_ARGS__))
135 ? ((void)ALOG(LOG_WARN, LOG_TAG, __VA_ARGS__)) \
140 * Simplified macro to send an error log message using the current LOG_TAG.
143 #define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
149 ? ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__)) \
156 * Conditional based on whether the current LOG_TAG is enabled at
163 #define IF_ALOGV() IF_ALOG(LOG_VERBOSE, LOG_TAG)
168 * Conditional based on whether the current LOG_TAG is enabled at
172 #define IF_ALOGD() IF_ALOG(LOG_DEBUG, LOG_TAG)
176 * Conditional based on whether the current LOG_TAG is enabled at
180 #define IF_ALOGI() IF_ALOG(LOG_INFO, LOG_TAG)
184 * Conditional based on whether the current LOG_TAG is enabled at
188 #define IF_ALOGW() IF_ALOG(LOG_WARN, LOG_TAG)
192 * Conditional based on whether the current LOG_TAG is enabled at
196 #define IF_ALOGE() IF_ALOG(LOG_ERROR, LOG_TAG)
203 * Simplified macro to send a verbose system log message using the current LOG_TAG.
209 #define SLOGV(...) ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
221 ? ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__)) \
227 * Simplified macro to send a debug system log message using the current LOG_TAG.
230 #define SLOGD(...) ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__))
236 ? ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)) \
241 * Simplified macro to send an info system log message using the current LOG_TAG.
244 #define SLOGI(...) ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__))
250 ? ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)) \
255 * Simplified macro to send a warning system log message using the current LOG_TAG.
258 #define SLOGW(...) ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__))
264 ? ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__)) \
269 * Simplified macro to send an error system log message using the current LOG_TAG.
272 #define SLOGE(...) ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__))
278 ? ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)) \
295 ? ((void)android_printAssert(#cond, LOG_TAG, ## __VA_ARGS__)) \
301 ( ((void)android_printAssert(NULL, LOG_TAG, ## __VA_ARGS__)) )
330 * Stripped out of release builds. Uses the current LOG_TAG.