Changed: Only use filename in setProcessName

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-03 17:50:21 +01:00
parent ea937ba4f3
commit 82acfb3bf2

View file

@ -83,7 +83,8 @@ void CLog::setProcessName (const std::string &processName)
}
}
*_ProcessName = processName;
// keep only filename without path
*_ProcessName = CFile::getFilename(processName);
}
void CLog::setPosition (sint line, const char *fileName, const char *funcName)