From 2b01ed373cc1ad3850b20a64e7e7f7a09291e8bf Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sun, 25 Sep 2016 17:56:23 +0200 Subject: [PATCH] add logging shortcuts --- src/bin/ephoto.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/bin/ephoto.h b/src/bin/ephoto.h index b8e3488..c8cda4f 100644 --- a/src/bin/ephoto.h +++ b/src/bin/ephoto.h @@ -408,4 +408,11 @@ extern int EPHOTO_EVENT_EDITOR_APPLY; extern int EPHOTO_EVENT_EDITOR_CANCEL; extern int EPHOTO_EVENT_EDITOR_BACK; + +#define CRIT(...) EINA_LOG_CRIT(__VA_ARGS__) +#define ERR(...) EINA_LOG_ERR(__VA_ARGS__) +#define WRN(...) EINA_LOG_WARN(__VA_ARGS__) +#define INF(...) EINA_LOG_INFO(__VA_ARGS__) +#define DBG(...) EINA_LOG_DBG(__VA_ARGS__) + #endif