mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Allow debug-level logs on all platforms.
This commit is contained in:
+1
-11
@@ -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, ...) { \
|
||||
|
||||
Reference in New Issue
Block a user