blob: 1d514a3c3f157d2c005df489d08240b948318738 [file] [log] [blame]
Wedson Almeida Filho987c0ff2018-06-20 16:34:38 +01001#ifndef _DLOG_H
2#define _DLOG_H
3
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +01004#include <stdarg.h>
5
Wedson Almeida Filho987c0ff2018-06-20 16:34:38 +01006#if DEBUG
7void dlog(const char *fmt, ...);
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +01008void vdlog(const char *fmt, va_list args);
Wedson Almeida Filho987c0ff2018-06-20 16:34:38 +01009#else
10#define dlog(...)
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +010011#define vdlog(fmt, args)
Wedson Almeida Filho987c0ff2018-06-20 16:34:38 +010012#endif
13
Andrew Scull4f170f52018-07-19 12:58:20 +010014#endif /* _DLOG_H */