Started adding validation layer.

This commit is contained in:
2021-06-09 00:35:22 +02:00
parent cf8f9dee6f
commit fd70e77f71
4 changed files with 172 additions and 4 deletions

16
src/log.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef VKE_LOG_H
#define VKE_LOG_H
#define VKE_LOG_DEBUG = 0
#define VKE_LOG_ERROR = 1
// Sets the global log level (VKE_LOG_DEBUG by default).
void vkeSetLogLevel(int level);
// Logs the given message with the DEBUG tag.
void vkeLogDebug(const char* message);
// Logs the given message with the ERROR tag.
void vkeLogError(const char* message);
#endif