mirror of
https://github.com/Kugelschieber/vk-experiments.git
synced 2026-01-18 14:50:27 +00:00
Added info and warn log levels.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user