Allow debug-level logs on all platforms.

This commit is contained in:
Henrik Rydgård
2025-03-18 13:46:42 +01:00
parent 2fb10fb5d9
commit 1b7de6c17b
+1 -11
View File
@@ -85,20 +85,10 @@ void GenericLog(LogLevel level, Log type, const char *file, int line, const char
;
bool GenericLogEnabled(LogLevel level, Log type);
// We only disable DEBUG and VERBOSE on Android/iOS now.
#if defined(_DEBUG) || (!PPSSPP_PLATFORM(ANDROID) && !PPSSPP_PLATFORM(IOS))
// If you want to see verbose logs, change this to VERBOSE_LEVEL.
// Needs to be an int (and not use the enum) because it's used by the preprocessor!
#define MAX_LOGLEVEL DEBUG_LEVEL
#else
#ifndef MAX_LOGLEVEL
#define MAX_LOGLEVEL INFO_LEVEL
#endif // loglevel
#endif // logging
// Let the compiler optimize this out.
// TODO: Compute a dynamic max level as well that can be checked here.
#define GENERIC_LOG(t, v, ...) { \