billiob pushed a commit to branch master. http://git.enlightenment.org/apps/ephoto.git/commit/?id=2b01ed373cc1ad3850b20a64e7e7f7a09291e8bf
commit 2b01ed373cc1ad3850b20a64e7e7f7a09291e8bf Author: Boris Faure <[email protected]> Date: Sun Sep 25 17:56:23 2016 +0200 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 --
