libharkio3
A File I/O and Data Manipulation Library for HARK
libharkio3_macros.h
1 /*
2  This header is for replacing debug print methods.
3  If you have special functions for logging, e.g., Eclipse,
4  Replace these macros with your functions.
5  */
6 
7 #ifndef __LIBHARKIO3_MACROS__
8 #define __LIBHARKIO3_MACROS__
9 #define LIBHARKIO_LOGT(...) (fprintf(stderr, __VA_ARGS__))
10 #define LIBHARKIO_LOGD(...) (fprintf(stderr, __VA_ARGS__))
11 #define LIBHARKIO_LOGI(...) (fprintf(stderr, __VA_ARGS__))
12 #define LIBHARKIO_LOGW(...) (fprintf(stderr, __VA_ARGS__))
13 #define LIBHARKIO_LOGE(...) (fprintf(stderr, __VA_ARGS__))
14 #define LIBHARKIO_LOGVT(...) (vfprintf(stderr, __VA_ARGS__))
15 #define LIBHARKIO_LOGVD(...) (vfprintf(stderr, __VA_ARGS__))
16 #define LIBHARKIO_LOGVI(...) (vfprintf(stderr, __VA_ARGS__))
17 #define LIBHARKIO_LOGVW(...) (vfprintf(stderr, __VA_ARGS__))
18 #define LIBHARKIO_LOGVE(...) (vfprintf(stderr, __VA_ARGS__))
19 #endif