#include <uhd/config.h>
Go to the source code of this file.
Macros | |
#define | UHD_LOG_TRACE(component, ...) _uhd_log(UHD_LOG_LEVEL_TRACE, __FILE__, __LINE__, component, __VA_ARGS__); |
#define | UHD_LOG_DEBUG(component, ...) _uhd_log(UHD_LOG_LEVEL_DEBUG, __FILE__, __LINE__, component, __VA_ARGS__); |
#define | UHD_LOG_INFO(component, ...) _uhd_log(UHD_LOG_LEVEL_INFO, __FILE__, __LINE__, component, __VA_ARGS__); |
#define | UHD_LOG_WARNING(component, ...) _uhd_log(UHD_LOG_LEVEL_WARNING, __FILE__, __LINE__, component, __VA_ARGS__); |
#define | UHD_LOG_ERROR(component, ...) _uhd_log(UHD_LOG_LEVEL_ERROR, __FILE__, __LINE__, component, __VA_ARGS__); |
#define | UHD_LOG_FATAL(component, ...) _uhd_log(UHD_LOG_LEVEL_FATAL, __FILE__, __LINE__, component, __VA_ARGS__); |
Enumerations | |
enum | uhd_log_severity_level_t { UHD_LOG_LEVEL_TRACE , UHD_LOG_LEVEL_DEBUG , UHD_LOG_LEVEL_INFO , UHD_LOG_LEVEL_WARNING , UHD_LOG_LEVEL_ERROR , UHD_LOG_LEVEL_FATAL } |
Functions | |
void UHD_API | _uhd_log (const uhd_log_severity_level_t log_level, const char *filename, const int lineno, const char *comp, const char *format,...) |
#define UHD_LOG_DEBUG | ( | component, | |
... | |||
) | _uhd_log(UHD_LOG_LEVEL_DEBUG, __FILE__, __LINE__, component, __VA_ARGS__); |
#define UHD_LOG_ERROR | ( | component, | |
... | |||
) | _uhd_log(UHD_LOG_LEVEL_ERROR, __FILE__, __LINE__, component, __VA_ARGS__); |
#define UHD_LOG_FATAL | ( | component, | |
... | |||
) | _uhd_log(UHD_LOG_LEVEL_FATAL, __FILE__, __LINE__, component, __VA_ARGS__); |
#define UHD_LOG_INFO | ( | component, | |
... | |||
) | _uhd_log(UHD_LOG_LEVEL_INFO, __FILE__, __LINE__, component, __VA_ARGS__); |
#define UHD_LOG_TRACE | ( | component, | |
... | |||
) | _uhd_log(UHD_LOG_LEVEL_TRACE, __FILE__, __LINE__, component, __VA_ARGS__); |
#define UHD_LOG_WARNING | ( | component, | |
... | |||
) | _uhd_log(UHD_LOG_LEVEL_WARNING, __FILE__, __LINE__, component, __VA_ARGS__); |
void UHD_API _uhd_log | ( | const uhd_log_severity_level_t | log_level, |
const char * | filename, | ||
const int | lineno, | ||
const char * | comp, | ||
const char * | format, | ||
... | |||
) |