diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rune_logging.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/rune_logging.h b/include/rune_logging.h new file mode 100644 index 0000000..a0b9e29 --- /dev/null +++ b/include/rune_logging.h @@ -0,0 +1,16 @@ +#ifndef RUNE_LOGGING_H +#define RUNE_LOGGING_H + +#include <rune_types.h> + +enum log_level { + LOG_FATAL, + LOG_ERROR, + LOG_WARN, + LOG_INFO, + LOG_DEBUG +}; + +void log_output(int level, const char *fmt, ...); + +#endif |