diff options
| author | 2014-12-06 20:00:08 -0200 | |
|---|---|---|
| committer | 2014-12-13 02:08:06 -0200 | |
| commit | 0e0a007a2503d468391004c8ea2faae305232345 (patch) | |
| tree | 75feea527bd46aa4c534b77b560c89d538757f7f /src/citra_qt/config.cpp | |
| parent | Convert old logging calls to new logging macros (diff) | |
| download | yuzu-0e0a007a2503d468391004c8ea2faae305232345.tar.gz yuzu-0e0a007a2503d468391004c8ea2faae305232345.tar.xz yuzu-0e0a007a2503d468391004c8ea2faae305232345.zip | |
Add configurable per-class log filtering
Diffstat (limited to 'src/citra_qt/config.cpp')
| -rw-r--r-- | src/citra_qt/config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp index 3209e5900..0ae6b8b2d 100644 --- a/src/citra_qt/config.cpp +++ b/src/citra_qt/config.cpp | |||
| @@ -52,7 +52,7 @@ void Config::ReadValues() { | |||
| 52 | qt_config->endGroup(); | 52 | qt_config->endGroup(); |
| 53 | 53 | ||
| 54 | qt_config->beginGroup("Miscellaneous"); | 54 | qt_config->beginGroup("Miscellaneous"); |
| 55 | Settings::values.enable_log = qt_config->value("enable_log", true).toBool(); | 55 | Settings::values.log_filter = qt_config->value("log_filter", "*:Info").toString().toStdString(); |
| 56 | qt_config->endGroup(); | 56 | qt_config->endGroup(); |
| 57 | } | 57 | } |
| 58 | 58 | ||
| @@ -87,7 +87,7 @@ void Config::SaveValues() { | |||
| 87 | qt_config->endGroup(); | 87 | qt_config->endGroup(); |
| 88 | 88 | ||
| 89 | qt_config->beginGroup("Miscellaneous"); | 89 | qt_config->beginGroup("Miscellaneous"); |
| 90 | qt_config->setValue("enable_log", Settings::values.enable_log); | 90 | qt_config->setValue("log_filter", QString::fromStdString(Settings::values.log_filter)); |
| 91 | qt_config->endGroup(); | 91 | qt_config->endGroup(); |
| 92 | } | 92 | } |
| 93 | 93 | ||