diff options
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 |