Reworking log level as incremental.
This commit is contained in:
parent
3703430f57
commit
c1c801e5c3
11
src/raudio.c
11
src/raudio.c
@ -171,11 +171,14 @@ typedef struct MusicData {
|
||||
|
||||
#if defined(RAUDIO_STANDALONE)
|
||||
typedef enum {
|
||||
LOG_INFO = 0,
|
||||
LOG_ERROR,
|
||||
LOG_WARNING,
|
||||
LOG_ALL,
|
||||
LOG_TRACE,
|
||||
LOG_DEBUG,
|
||||
LOG_OTHER
|
||||
LOG_INFO,
|
||||
LOG_WARN,
|
||||
LOG_ERROR,
|
||||
LOG_FATAL,
|
||||
LOG_NONE
|
||||
} TraceLogType;
|
||||
#endif
|
||||
|
||||
|
14
src/raylib.h
14
src/raylib.h
@ -421,13 +421,15 @@ typedef enum {
|
||||
} ConfigFlag;
|
||||
|
||||
// Trace log type
|
||||
// NOTE: Used for bit masks
|
||||
typedef enum {
|
||||
LOG_INFO = 1,
|
||||
LOG_WARNING = 2,
|
||||
LOG_ERROR = 4,
|
||||
LOG_DEBUG = 8,
|
||||
LOG_OTHER = 16
|
||||
LOG_ALL, // Display all logs
|
||||
LOG_TRACE,
|
||||
LOG_DEBUG,
|
||||
LOG_INFO,
|
||||
LOG_WARNING,
|
||||
LOG_ERROR,
|
||||
LOG_FATAL,
|
||||
LOG_NONE // Disable logging
|
||||
} TraceLogType;
|
||||
|
||||
// Keyboard keys
|
||||
|
11
src/rlgl.h
11
src/rlgl.h
@ -253,11 +253,14 @@ typedef unsigned char byte;
|
||||
|
||||
// TraceLog message types
|
||||
typedef enum {
|
||||
LOG_INFO = 0,
|
||||
LOG_ERROR,
|
||||
LOG_WARNING,
|
||||
LOG_ALL,
|
||||
LOG_TRACE,
|
||||
LOG_DEBUG,
|
||||
LOG_OTHER
|
||||
LOG_INFO,
|
||||
LOG_WARN,
|
||||
LOG_ERROR,
|
||||
LOG_FATAL,
|
||||
LOG_NONE
|
||||
} TraceLogType;
|
||||
|
||||
// Texture formats (support depends on OpenGL version)
|
||||
|
Loading…
Reference in New Issue
Block a user