Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 31, 2011, 11:42:55 PM (13 years ago)
Author:
landauf
Message:

Removed debugLevel_ from Shell, using correct variable inherited from BaseWriter as config value.
Fixed OutputListener::setLevelMax() which ignored the new output level "message".
Fixed using a boolean called "verbose" instead of the output level with the same name in Loader.
Preventing further problems of this kind by defining OutputLevel as an enum.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/core/command/Shell.cc

    r8803 r8808  
    170170        if (isNormal)
    171171        {
    172             ModifyConfigValueExternal(debugLevel_, this->getConfigurableMaxLevelName(), update);
     172            ModifyConfigValueExternal(this->configurableMaxLevel_, this->getConfigurableMaxLevelName(), update);
    173173        }
    174174        else
    175175        {
    176176            OutputLevel level = (value ? DefaultLogLevel::Dev : DefaultLogLevel::User);
    177             ModifyConfigValueExternal(debugLevel_, this->getConfigurableMaxLevelName(), tset, level);
     177            ModifyConfigValueExternal(this->configurableMaxLevel_, this->getConfigurableMaxLevelName(), tset, level);
    178178        }
    179179    }
Note: See TracChangeset for help on using the changeset viewer.