/**
 * \file gatekeeper_log.h
**/
#ifndef GATEKEEPER_LOG_H
#define GATEKEEPER_LOG_H

#include <stdio.h>

#define LOGE(fmt, ...) printf("gatekeeper [ERR] (%s:%u) "fmt, __func__, __LINE__, ## __VA_ARGS__)

#ifdef DEBUG
#define LOGD(fmt, ...) printf("gatekeeper [DBG] (%s:%u) "fmt, __func__, __LINE__, ## __VA_ARGS__)
#else /* DEBUG */
#define LOGD(...)
#endif /* DEBUG */

#endif /* GATEKEEPER_LOG_H */
