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)
|
#if defined(RAUDIO_STANDALONE)
|
||||||
typedef enum {
|
typedef enum {
|
||||||
LOG_INFO = 0,
|
LOG_ALL,
|
||||||
LOG_ERROR,
|
LOG_TRACE,
|
||||||
LOG_WARNING,
|
|
||||||
LOG_DEBUG,
|
LOG_DEBUG,
|
||||||
LOG_OTHER
|
LOG_INFO,
|
||||||
|
LOG_WARN,
|
||||||
|
LOG_ERROR,
|
||||||
|
LOG_FATAL,
|
||||||
|
LOG_NONE
|
||||||
} TraceLogType;
|
} TraceLogType;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
14
src/raylib.h
14
src/raylib.h
@ -421,13 +421,15 @@ typedef enum {
|
|||||||
} ConfigFlag;
|
} ConfigFlag;
|
||||||
|
|
||||||
// Trace log type
|
// Trace log type
|
||||||
// NOTE: Used for bit masks
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
LOG_INFO = 1,
|
LOG_ALL, // Display all logs
|
||||||
LOG_WARNING = 2,
|
LOG_TRACE,
|
||||||
LOG_ERROR = 4,
|
LOG_DEBUG,
|
||||||
LOG_DEBUG = 8,
|
LOG_INFO,
|
||||||
LOG_OTHER = 16
|
LOG_WARNING,
|
||||||
|
LOG_ERROR,
|
||||||
|
LOG_FATAL,
|
||||||
|
LOG_NONE // Disable logging
|
||||||
} TraceLogType;
|
} TraceLogType;
|
||||||
|
|
||||||
// Keyboard keys
|
// Keyboard keys
|
||||||
|
11
src/rlgl.h
11
src/rlgl.h
@ -253,11 +253,14 @@ typedef unsigned char byte;
|
|||||||
|
|
||||||
// TraceLog message types
|
// TraceLog message types
|
||||||
typedef enum {
|
typedef enum {
|
||||||
LOG_INFO = 0,
|
LOG_ALL,
|
||||||
LOG_ERROR,
|
LOG_TRACE,
|
||||||
LOG_WARNING,
|
|
||||||
LOG_DEBUG,
|
LOG_DEBUG,
|
||||||
LOG_OTHER
|
LOG_INFO,
|
||||||
|
LOG_WARN,
|
||||||
|
LOG_ERROR,
|
||||||
|
LOG_FATAL,
|
||||||
|
LOG_NONE
|
||||||
} TraceLogType;
|
} TraceLogType;
|
||||||
|
|
||||||
// Texture formats (support depends on OpenGL version)
|
// Texture formats (support depends on OpenGL version)
|
||||||
|
Loading…
Reference in New Issue
Block a user