From 477e1ba2977435ae7bb75c7dbd95cf28247f89bd Mon Sep 17 00:00:00 2001 From: nirav Date: Thu, 28 Mar 2019 09:10:52 +0530 Subject: Move APIs into libgs dir --- libgs/src/log.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libgs/src/log.h (limited to 'libgs/src/log.h') diff --git a/libgs/src/log.h b/libgs/src/log.h new file mode 100644 index 0000000..83e3784 --- /dev/null +++ b/libgs/src/log.h @@ -0,0 +1,13 @@ +#ifndef __GS_LOG_H +#define __GS_LOG_H + +enum gs_log_level { + GS_INFO = 0, + GS_WARNING, + GS_ERROR, + GS_FATAL +}; + +void gs_log(enum gs_log_level level, const char *namespace, const char *format, ...); + +#endif -- cgit v1.2.3