X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=log.h;h=9ba0b5ab728b427811e781a92ad5d5e7193b53d8;hp=7e51fcbe134fc8cd684d93702fe1a4e256529c30;hb=74cd48ffef90d7d0752e37a4515e4ecfb68f7c9d;hpb=3ce04a3c410c5836394417b19e70f2a95bc8a5e7 diff --git a/log.h b/log.h index 7e51fcb..9ba0b5a 100644 --- a/log.h +++ b/log.h @@ -6,7 +6,6 @@ #include enum LogLevel { - NO_LEVEL, INFO, WARNING, ERROR, @@ -20,5 +19,6 @@ void start_logging(); void shut_down_logging(); void log(LogLevel log_level, const char *fmt, ...); +void log_perror(const char *msg); #endif // !defined(_LOG_H)