mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-24 21:19:46 -06:00
- 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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user