diff options
| author | Kris Parker | 2009-11-27 13:43:41 +0000 |
|---|---|---|
| committer | Kris Parker | 2009-11-27 13:43:41 +0000 |
| commit | 0a9fcbb2889a3db04c7bc96c3539d4a68ff8b623 (patch) | |
| tree | 056227144b5d3dd2ca4f26f2821b426ddb117fe7 /Config.cpp | |
| parent | 086ed1b00a1d4052bc38cc6cb7cd532ad1499877 (diff) | |
| download | stonesense-0a9fcbb2889a3db04c7bc96c3539d4a68ff8b623.tar.gz stonesense-0a9fcbb2889a3db04c7bc96c3539d4a68ff8b623.tar.bz2 stonesense-0a9fcbb2889a3db04c7bc96c3539d4a68ff8b623.tar.xz | |
verbose logging function and config
Diffstat (limited to 'Config.cpp')
| -rw-r--r-- | Config.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -107,6 +107,10 @@ void parseConfigLine( string line ){ if(value < 50) value = 50;
config.animation_step = value;
}
+ if( line.find("VERBOSE_LOGGING") != -1){
+ string result = parseStrFromLine( "VERBOSE_LOGGING", line );
+ config.verbose_logging = (result == "YES");
+ }
}
|
