]> git.mxchange.org Git - flightgear.git/commitdiff
Log options to INFO level when processing
authorJames Turner <zakalawe@mac.com>
Tue, 12 Jan 2016 23:33:57 +0000 (17:33 -0600)
committerJames Turner <zakalawe@mac.com>
Tue, 12 Jan 2016 23:33:57 +0000 (17:33 -0600)
- ensures they occur in the fgfs.log which should aid problem
  tracing.

src/Main/options.cxx

index c0a955379b7b70cf72af4a5a9edf43bfa0a47382..9cfbb6c9df607e5db5dca8126050baf102984c99 100644 (file)
@@ -2265,6 +2265,9 @@ OptionResult Options::processOptions()
           default:
               break;
       }
+        if (it->desc) {
+            SG_LOG(SG_GENERAL, SG_INFO, "\toption:" << it->desc->option << " = " << it->value);
+        }
     }
     
     groupEnd = groupBegin;