Added GetTraceLogLevel function
This commit is contained in:
parent
40f3df5b86
commit
50ba800cb9
|
|
@ -1086,6 +1086,7 @@ RLAPI void OpenURL(const char *url); // Open URL wi
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
RLAPI void TraceLog(int logLevel, const char *text, ...); // Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)
|
RLAPI void TraceLog(int logLevel, const char *text, ...); // Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)
|
||||||
RLAPI void SetTraceLogLevel(int logLevel); // Set the current threshold (minimum) log level
|
RLAPI void SetTraceLogLevel(int logLevel); // Set the current threshold (minimum) log level
|
||||||
|
RLAPI TraceLogLevel GetTraceLogLevel(); // Get the current threshold (minimum) log level
|
||||||
RLAPI void *MemAlloc(unsigned int size); // Internal memory allocator
|
RLAPI void *MemAlloc(unsigned int size); // Internal memory allocator
|
||||||
RLAPI void *MemRealloc(void *ptr, unsigned int size); // Internal memory reallocator
|
RLAPI void *MemRealloc(void *ptr, unsigned int size); // Internal memory reallocator
|
||||||
RLAPI void MemFree(void *ptr); // Internal memory free
|
RLAPI void MemFree(void *ptr); // Internal memory free
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,9 @@ static int android_close(void *cookie);
|
||||||
// Set the current threshold (minimum) log level
|
// Set the current threshold (minimum) log level
|
||||||
void SetTraceLogLevel(int logType) { logTypeLevel = logType; }
|
void SetTraceLogLevel(int logType) { logTypeLevel = logType; }
|
||||||
|
|
||||||
|
// Get the current threshold (minimum) log level
|
||||||
|
TraceLogLevel GetTraceLogLevel() { return logTypeLevel; }
|
||||||
|
|
||||||
// Show trace log messages (LOG_INFO, LOG_WARNING, LOG_ERROR, LOG_DEBUG)
|
// Show trace log messages (LOG_INFO, LOG_WARNING, LOG_ERROR, LOG_DEBUG)
|
||||||
void TraceLog(int logType, const char *text, ...)
|
void TraceLog(int logType, const char *text, ...)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user