75 #define LOG_LEVEL LOG_INFO 81 #define LOG(level, ...) if (level <= LOG_LEVEL) log_write(level, __VA_ARGS__) 87 #define LOG_ERROR(...) LOG(LOG_ERROR, __VA_ARGS__) 88 #define LOG_WARNING(...) LOG(LOG_WARNING, __VA_ARGS__) 89 #define LOG_TELEMETRY(...) LOG(LOG_TELEMETRY, __VA_ARGS__) 90 #define LOG_INFO(...) LOG(LOG_INFO, __VA_ARGS__) 91 #define LOG_DEBUG(...) LOG(LOG_DEBUG, __VA_ARGS__) 95 #include "kubos-core/common/log_module.h" 102 #define log_write(level, ...) printf(__VA_ARGS__) Lowest log level, will output nothing.
Definition: k_log.h:56
#define LOG_WARNING(...)
Definition: k_log.h:88
#define LOG_ERROR(...)
logging convenience defines
Definition: k_log.h:87
#define LOG_INFO(...)
Definition: k_log.h:90
#define LOG_DEBUG(...)
Definition: k_log.h:91
#define LOG_TELEMETRY(...)
Definition: k_log.h:89
print everything
Definition: k_log.h:68