Utility header file that exposes macros for configuring logging implementation of logging macros (LogError, LogWarn, LogInfo, LogDebug).
More...
|
| #define | LOG_METADATA_FORMAT "[%u][%s][%s]" |
| | The name of the library or demo to add as metadata in log messages from the library or demo.
|
| |
| #define | LOG_METADATA_ARGS |
| | Arguments into the metadata logging \ prefix format.
|
| |
|
#define | iotmiDev_logError iotmiPal_logError |
| |
|
#define | iotmiDev_logWarn iotmiPal_logWarn |
| |
|
#define | iotmiDev_logInfo iotmiPal_logInfo |
| |
|
#define | iotmiDev_logDebug iotmiPal_logDebug |
| |
|
#define | COMPILE_TIME_ERROR(msg) void compile_time_error(void) { (void)sizeof(char[1 - 2 * !!(msg)]); } |
| |
|
#define | InternalLog_Unsupported(...) COMPILE_TIME_ERROR("Unsupported log format") |
| |
| #define | InternalLogError_1(format) |
| |
| #define | InternalLogError_Multiple(format, ...) |
| |
| #define | InternalLogErrorFormatter(...) |
| |
|
#define | InternalLogErrorMacroSelect(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N |
| |
| #define | InternalLogWarn_1(format) |
| |
| #define | InternalLogWarn_Multiple(format, ...) |
| |
| #define | InternalLogWarnFormatter(...) |
| |
|
#define | InternalLogWarnMacroSelect(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N |
| |
| #define | InternalLogInfo_1(format) |
| |
| #define | InternalLogInfo_Multiple(format, ...) |
| |
| #define | InternalLogInfoFormatter(...) |
| |
|
#define | InternalLogInfoMacroSelect(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N |
| |
| #define | InternalLogDebug_1(format) |
| |
| #define | InternalLogDebug_Multiple(format, ...) |
| |
| #define | InternalLogDebugFormatter(...) |
| |
|
#define | InternalLogDebugMacroSelect(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N |
| |
Utility header file that exposes macros for configuring logging implementation of logging macros (LogError, LogWarn, LogInfo, LogDebug).