- Add initial tracing calls adapting to new Ghoul change of adding a

loglevel of ‘Trace’
- Adapt js and css files to show trace files in log
This commit is contained in:
Alexander Bock
2017-02-14 18:10:28 -05:00
parent 8456087cf5
commit efe205c209
9 changed files with 73 additions and 5 deletions

View File

@@ -822,6 +822,17 @@ void OpenSpaceEngine::configureLogging() {
LogMgr.addLog(std::make_unique<VisualStudioOutputLog>());
}
#endif // WIN32
#ifndef GHOUL_LOGGING_ENABLE_TRACE
std::string logLevel;
configurationManager().getValue(KeyLogLevel, logLevel);
LogLevel level = ghoul::logging::levelFromString(logLevel);
if (level == ghoul::logging::LogLevel::Trace) {
LWARNING("Desired logging level is set to 'Trace' but application was " <<
"compiled without Trace support");
}
#endif // GHOUL_LOGGING_ENABLE_TRACE
}
bool OpenSpaceEngine::initializeGL() {