mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-24 14:25:19 +03:00
fixed: log class using wrong debug macros
This commit is contained in:
parent
65edd6a8c1
commit
dde0cfabc1
@ -46,7 +46,7 @@ static const char* g_priority[] = {
|
||||
static const int g_numPriority = (int)(sizeof(g_priority) / sizeof(g_priority[0]));
|
||||
|
||||
// the default priority
|
||||
#if defined(_DEBUG) || defined(DEBUG)
|
||||
#ifndef NDEBUG
|
||||
static const int g_defaultMaxPriority = kDEBUG;
|
||||
#else
|
||||
static const int g_defaultMaxPriority = kINFO;
|
||||
@ -176,7 +176,7 @@ CLog::print(const char* file, int line, const char* fmt, ...)
|
||||
|
||||
char message[2048];
|
||||
|
||||
#if defined(_DEBUG) || defined(DEBUG)
|
||||
#ifndef NDEBUG
|
||||
struct tm *tm;
|
||||
char tmp[220];
|
||||
time_t t;
|
||||
|
Loading…
Reference in New Issue
Block a user