diff options
author | nirav <nirav@teisuu.com> | 2019-03-28 09:10:52 +0530 |
---|---|---|
committer | nirav <nirav@teisuu.com> | 2019-03-28 09:10:52 +0530 |
commit | 477e1ba2977435ae7bb75c7dbd95cf28247f89bd (patch) | |
tree | ce1f9719a7d11bbd47e9adea26dd610bc087962e /libgs/src/log.h | |
parent | cc727e972f7fdc871ee1f42cf014151b67422bf0 (diff) | |
download | ap_client-master.tar.gz ap_client-master.zip |
Diffstat (limited to 'libgs/src/log.h')
-rw-r--r-- | libgs/src/log.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 |