-#define SLOGV_IF(cond, format, arg...) \
- (((CONDITION(cond)) && (LOG_ON())) ? \
- (SLOG(LOG_VERBOSE, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))
-#endif
-#endif
-
-/**
- * Simplified system macro to send a debug log message using the current LOG_TAG.
- */
-#ifndef SLOGD
-#define SLOGD(format, arg...) \
- (LOG_ON() ? (SLOG(LOG_DEBUG, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))
-#endif
-/**
- * Simplified system macro to send a conditional verbose log message using the current LOG_TAG.
- */
-#ifndef SLOGD_IF
-#define SLOGD_IF(cond, format, arg...) \
- (((CONDITION(cond)) && (LOG_ON())) ? \
- (SLOG(LOG_DEBUG, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))
-#endif
-
-/**
- * Simplified system macro to send an info log message using the current LOG_TAG.
- */
-#ifndef SLOGI
-#define SLOGI(format, arg...) \
- (LOG_ON() ? (SLOG(LOG_INFO, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))
-#endif
-/**
- * Simplified system macro to send a conditional verbose log message using the current LOG_TAG.
- */
-#ifndef SLOGI_IF
-#define SLOGI_IF(cond, format, arg...) \
- (((CONDITION(cond)) && (LOG_ON())) ? \
- (SLOG(LOG_INFO, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))
-#endif
-
-/**
- * Simplified system macro to send a warning log message using the current LOG_TAG.
- */
-#ifndef SLOGW
-#define SLOGW(format, arg...) \
- (LOG_ON() ? (SLOG(LOG_WARN, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))
-#endif
-/**
- * Simplified system macro to send a conditional verbose log message using the current LOG_TAG.
- */
-#ifndef SLOGW_IF
-#define SLOGW_IF(cond, format, arg...) \
- (((CONDITION(cond)) && (LOG_ON())) ? \
- (SLOG(LOG_WARN, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))
-#endif
-
-/**
- * Simplified system macro to send an error log message using the current LOG_TAG.
- */
-#ifndef SLOGE
-#define SLOGE(format, arg...) \
- (LOG_ON() ? (SLOG(LOG_ERROR, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))
-#endif
-/**
- * Simplified system macro to send a conditional verbose log message using the current LOG_TAG.
- */
-#ifndef SLOGE_IF
-#define SLOGE_IF(cond, format, arg...) \
- (((CONDITION(cond)) && (LOG_ON())) ? \
- (SLOG(LOG_ERROR, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))
-#endif
-/**
- * Simplified system macro to send an error log message using the current LOG_TAG.
- */
-#ifndef SLOGF
-#define SLOGF(format, arg...) \
- (LOG_ON() ? (SLOG(LOG_FATAL, LOG_TAG, "%s: %s(%d) > " format, __MODULE__, __func__, __LINE__, ##arg)) : (0))