diff options
| author | Dentomologist <dentomologist@gmail.com> | 2025-09-11 16:38:07 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2025-09-19 13:25:42 -0700 |
| commit | 2d48043b61613dc293a48e3ed863e36ffdf6643e (patch) | |
| tree | a0c6936afca68650e5a7e2915aad413640951e66 /Source/Android/jni/MainAndroid.cpp | |
| parent | 79614956f39fc1f6d47ff3fcf6484ef19f4e1ae4 (diff) | |
Logging: Don't overwrite LDEBUG verbosity in Release builds
Preserve the configured logging verbosity unless the user actually
changes it, rather than capping it to LINFO on release builds.
Rename LogManager::m_level to m_effective_level and distinguish between
the config and effective level in various function/variable names.
Make m_effective_level atomic to prevent data races when setting the
effective log level from the config changed callback.
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 646f745a13..8b252a5075 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -419,7 +419,7 @@ Java_org_dolphinemu_dolphinemu_NativeLibrary_GetDefaultGraphicsBackendConfigName JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_GetMaxLogLevel(JNIEnv*, jclass) { - return static_cast<jint>(Common::Log::MAX_LOGLEVEL); + return static_cast<jint>(Common::Log::MAX_EFFECTIVE_LOGLEVEL); } JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_WipeJitBlockProfilingData( |
