Skip to content
Snippets Groups Projects
Commit e1bf3eb6 authored by Sam Jenkins's avatar Sam Jenkins
Browse files

Re #23807 Updated logging to reduce calculations/output when not debug

parent ca7cdad9
No related branches found
No related tags found
No related merge requests found
......@@ -246,12 +246,14 @@ void LoadSampleEnvironment::exec() {
sample.setEnvironment(std::move(environment));
auto translatedVertices = environmentMesh->getVertices();
int i = 0;
for (double vertex : translatedVertices) {
i++;
g_log.information(std::to_string(vertex));
if (i % 3 == 0) {
g_log.information("\n");
if (g_log.is(7)) {
int i = 0;
for (double vertex : translatedVertices) {
i++;
g_log.debug(std::to_string(vertex));
if (i % 3 == 0) {
g_log.debug("\n");
}
}
}
// get the material name and number density for debug
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment