Skip to content

Commit 62c5a20

Browse files
committed
Fixing the one logNORMAL and debug detection
1 parent 636a2b4 commit 62c5a20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/DasherCore/DasherInterfaceBase.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@
5454
#include "FileUtils.h"
5555
#include "SmoothingFilter.h"
5656
#include "../DasherCore/FileLogger.h"
57-
#ifdef _DEBUG
57+
#ifndef NDEBUG
5858
const eLogLevel g_iLogLevel = eLogLevel::logDEBUG;
5959
const int g_iLogOptions = logTimeStamp | logDateStamp | logDeleteOldFile;
6060
#else
61-
const eLogLevel g_iLogLevel = logNORMAL;
61+
const eLogLevel g_iLogLevel = eLogLevel::logNORMAL;
6262
const int g_iLogOptions = logTimeStamp | logDateStamp;
6363
#endif
6464

0 commit comments

Comments
 (0)