#ifndef DBPRINT_IF_H
#define DBPRINT_IF_H
#ifndef HOST_UNIT_TEST
#include "alx_log.h"
using namespace alxLog;
const FACILITY_TYPE DBPRINT_FAC_diagservice = 0x01;
#define ERR(...) print(DBPRINT_FAC_diagservice, ERROR, __VA_ARGS__)
#define WARN(...) print(DBPRINT_FAC_diagservice, WARN, __VA_ARGS__)
#define INFO(...) print(DBPRINT_FAC_diagservice, INFO, __VA_ARGS__)
#define SPAM(...) print(DBPRINT_FAC_diagservice, SPAM, __VA_ARGS__)
#define NOTE(...) print(DBPRINT_FAC_diagservice, NOTE, __VA_ARGS__)
#else
static void print_ut(const char *format, ...)
{
}
#define ERR(...) print_ut(__VA_ARGS__)
#define WARN(...) print_ut(__VA_ARGS__)
#define INFO(...) print_ut(__VA_ARGS__)
#define SPAM(...) print_ut(__VA_ARGS__)
#define NOTE(...) print_ut(__VA_ARGS__)
#endif
#endif