diff options
| author | 2023-07-29 13:23:14 -0400 | |
|---|---|---|
| committer | 2023-07-29 13:23:14 -0400 | |
| commit | d90c622549e1cbed04a8ddc70ec843eabdd6f339 (patch) | |
| tree | 096ca459a6871fd93b154b9845b26351453bd947 /src/common/logging/backend.cpp | |
| parent | config(qt): Fix generic read setting (diff) | |
| parent | (ui)settings: Add more runtime_modifiable settings (diff) | |
| download | yuzu-d90c622549e1cbed04a8ddc70ec843eabdd6f339.tar.gz yuzu-d90c622549e1cbed04a8ddc70ec843eabdd6f339.tar.xz yuzu-d90c622549e1cbed04a8ddc70ec843eabdd6f339.zip | |
Merge branch 'pgc-plus' of github.com:lat9nq/yuzu into pgc-plus
Diffstat (limited to 'src/common/logging/backend.cpp')
| -rw-r--r-- | src/common/logging/backend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 6e8e8eb36..d4f27197c 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp | |||
| @@ -108,7 +108,7 @@ public: | |||
| 108 | 108 | ||
| 109 | using namespace Common::Literals; | 109 | using namespace Common::Literals; |
| 110 | // Prevent logs from exceeding a set maximum size in the event that log entries are spammed. | 110 | // Prevent logs from exceeding a set maximum size in the event that log entries are spammed. |
| 111 | const auto write_limit = Settings::values.extended_logging ? 1_GiB : 100_MiB; | 111 | const auto write_limit = Settings::values.extended_logging.GetValue() ? 1_GiB : 100_MiB; |
| 112 | const bool write_limit_exceeded = bytes_written > write_limit; | 112 | const bool write_limit_exceeded = bytes_written > write_limit; |
| 113 | if (entry.log_level >= Level::Error || write_limit_exceeded) { | 113 | if (entry.log_level >= Level::Error || write_limit_exceeded) { |
| 114 | if (write_limit_exceeded) { | 114 | if (write_limit_exceeded) { |