summaryrefslogtreecommitdiff
path: root/src/common/logging/backend.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2023-08-02 14:25:52 -0400
committerGravatar GitHub2023-08-02 14:25:52 -0400
commitfca7d975fdbeb1c63677b80efc03920affee4b12 (patch)
treebbded6cf80886c6def87bae92cf6784340165de9 /src/common/logging/backend.cpp
parentMerge pull request #11204 from liamwhite/eds3-blend-amd (diff)
parentconfig(qt): Fix name of network category (diff)
downloadyuzu-fca7d975fdbeb1c63677b80efc03920affee4b12.tar.gz
yuzu-fca7d975fdbeb1c63677b80efc03920affee4b12.tar.xz
yuzu-fca7d975fdbeb1c63677b80efc03920affee4b12.zip
Merge pull request #10839 from lat9nq/pgc-plus
general: Reimplement per-game configurations
Diffstat (limited to 'src/common/logging/backend.cpp')
-rw-r--r--src/common/logging/backend.cpp2
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) {