Commit a2a22bb1 authored by Guillaume Pasero's avatar Guillaume Pasero

Merge branch '1561-logger-composite-app' into 'develop'

Resolve "General log information appear several time in composite applications"

Closes #1561

See merge request !58
parents f11f9bcd 2139bde7
...@@ -87,8 +87,9 @@ void Logger::LogSetupInformation() ...@@ -87,8 +87,9 @@ void Logger::LogSetupInformation()
oss.str(""); oss.str("");
oss.clear(); oss.clear();
// only switch the flag for the singleton, so that other instances can call // ensure LogSetupInformation is done once per logger, and also that it is
// LogSetupInformation() several times // skipped by the singleton when it has already been printed by an other instance
LogSetupInformationDone();
Instance()->LogSetupInformationDone(); Instance()->LogSetupInformationDone();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment