Added info and warn log levels.

This commit is contained in:
2021-06-09 19:52:02 +02:00
parent 1a54147c69
commit ad33883c35
3 changed files with 23 additions and 4 deletions

View File

@@ -2,6 +2,8 @@
#define VKE_LOG_H
#define VKE_LOG_DEBUG 0
#define VKE_LOG_INFO 0
#define VKE_LOG_WARN 0
#define VKE_LOG_ERROR 1
// Sets the global log level (VKE_LOG_DEBUG by default).
@@ -10,6 +12,12 @@ void vkeSetLogLevel(int level);
// Logs the given message with the DEBUG tag.
void vkeLogDebug(const char* message);
// Logs the given message with the INFO tag.
void vkeLogInfo(const char* message);
// Logs the given message with the WARN tag.
void vkeLogWarn(const char* message);
// Logs the given message with the ERROR tag.
void vkeLogError(const char* message);