Settings: Default console logging on Android to on

This commit is contained in:
Connor McLaughlin
2021-02-07 03:27:37 +10:00
parent fc578b7ec7
commit a77edc6436
3 changed files with 9 additions and 2 deletions

View File

@ -357,6 +357,13 @@ struct Settings
static constexpr MemoryCardType DEFAULT_MEMORY_CARD_1_TYPE = MemoryCardType::PerGameTitle;
static constexpr MemoryCardType DEFAULT_MEMORY_CARD_2_TYPE = MemoryCardType::None;
static constexpr LOGLEVEL DEFAULT_LOG_LEVEL = LOGLEVEL_INFO;
// Enable console logging by default on Linux platforms.
#if defined(__linux__) && !defined(__ANDROID__)
static constexpr bool DEFAULT_LOG_TO_CONSOLE = true;
#else
static constexpr bool DEFAULT_LOG_TO_CONSOLE = false;
#endif
};
extern Settings g_settings;