summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2013-02-12 11:43:39 +0100
committerYorhel <git@yorhel.nl>2013-02-12 11:43:39 +0100
commitb37bdf23377f7d21674bbe06f80fb407eba6a5f8 (patch)
tree5ba7f6a9b9c541a1003833a543cc41334e52aa37
parentc02a338cae7f1cc24d65a613c060017d03d1bd8e (diff)
ylog: Added yerror() alias
-rw-r--r--ylog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ylog.h b/ylog.h
index 4fee3bc..51bea71 100644
--- a/ylog.h
+++ b/ylog.h
@@ -193,6 +193,7 @@ void ylog_impl(ylog_file_t *file, int level, int line, const char *filename, con
#define yerr(...) ylog(YLOG_ERR, __VA_ARGS__)
+#define yerror(...) ylog(YLOG_ERR, __VA_ARGS__)
#define ywarn(...) ylog(YLOG_WARN, __VA_ARGS__)
#define yinfo(...) ylog(YLOG_INFO, __VA_ARGS__)
#define ydebug(...) ylog(YLOG_DEBUG, __VA_ARGS__)