|
|
@ -1147,11 +1147,9 @@ void destroyDebug()
|
|
|
|
|
|
|
|
|
|
|
|
void createDebug (const char *logPath, bool logInFile, bool eraseLastLog)
|
|
|
|
void createDebug (const char *logPath, bool logInFile, bool eraseLastLog)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
// Do some basic compiler time check on type size
|
|
|
|
// Do some basic compiler time check on type size
|
|
|
|
nlctassert(sizeof(char) == 1);
|
|
|
|
nlctassert(sizeof(char) == 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// static bool alreadyCreateSharedAmongThreads = false;
|
|
|
|
// static bool alreadyCreateSharedAmongThreads = false;
|
|
|
|
// if ( !alreadyCreateSharedAmongThreads )
|
|
|
|
// if ( !alreadyCreateSharedAmongThreads )
|
|
|
|
if (!INelContext::getInstance().getAlreadyCreateSharedAmongThreads())
|
|
|
|
if (!INelContext::getInstance().getAlreadyCreateSharedAmongThreads())
|
|
|
|