34 #ifndef IOT_LOGGING_H_ 35 #define IOT_LOGGING_H_ 38 #include "iot_config.h" 75 #define IOT_LOG_NONE 0 83 #define IOT_LOG_ERROR 1 92 #define IOT_LOG_WARN 2 100 #define IOT_LOG_INFO 3 109 #define IOT_LOG_DEBUG 4 145 typedef struct IotLogConfig
148 bool hideLibraryName;
190 const char *
const pLibraryName,
191 int32_t messageLevel,
193 const char *
const pFormat,
221 const char *
const pHeader,
222 const uint8_t *
const pBuffer,
void IotLog_Generic(int32_t libraryLogSetting, const char *const pLibraryName, int32_t messageLevel, const IotLogConfig_t *const pLogConfig, const char *const pFormat,...)
Generic logging function that prints a single message.
Definition: iot_logging.c:188
void IotLog_GenericPrintBuffer(const char *const pLibraryName, const char *const pHeader, const uint8_t *const pBuffer, size_t bufferSize)
Generic function to log the contents of a buffer as bytes.
Definition: iot_logging.c:396
Log message configuration struct.
Definition: iot_logging.h:152