aboutsummaryrefslogtreecommitdiff
path: root/src/common/logging/backend.cpp
diff options
context:
space:
mode:
authoryuzubot <yuzu@yuzu-emu.org>2023-08-02 12:03:18 +0000
committeryuzubot <yuzu@yuzu-emu.org>2023-08-02 12:03:18 +0000
commit4caa6d86a92cd3c9acbc91144880a4ae2572549c (patch)
treef8f7cd5f91cc232fe486c3a22603b0f1f97b713f /src/common/logging/backend.cpp
parent36aca262e3dc1cac4ee7e1415ddde8e4255ea42b (diff)
"Merge Tagged PR 10839"mainline-0-1515
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 6e8e8eb36b..d4f27197c9 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -108,7 +108,7 @@ public:
using namespace Common::Literals;
// Prevent logs from exceeding a set maximum size in the event that log entries are spammed.
- const auto write_limit = Settings::values.extended_logging ? 1_GiB : 100_MiB;
+ const auto write_limit = Settings::values.extended_logging.GetValue() ? 1_GiB : 100_MiB;
const bool write_limit_exceeded = bytes_written > write_limit;
if (entry.log_level >= Level::Error || write_limit_exceeded) {
if (write_limit_exceeded) {