mirror of
https://github.com/Kugelschieber/vk-experiments.git
synced 2026-01-18 06:40:27 +00:00
Started adding validation layer.
This commit is contained in:
16
src/log.h
Normal file
16
src/log.h
Normal 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
|
||||
Reference in New Issue
Block a user