mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Android: Add Log Configuration to UI
This commit is contained in:
parent
520af035d2
commit
fdcc6a436b
16 changed files with 222 additions and 6 deletions
|
@ -239,6 +239,17 @@ bool LogManager::IsEnabled(LOG_TYPE type, LOG_LEVELS level) const
|
|||
return m_log[type].m_enable && GetLogLevel() >= level;
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> LogManager::GetLogTypes()
|
||||
{
|
||||
std::map<std::string, std::string> log_types;
|
||||
|
||||
for (const auto& container : m_log)
|
||||
{
|
||||
log_types.emplace(container.m_short_name, container.m_full_name);
|
||||
}
|
||||
return log_types;
|
||||
}
|
||||
|
||||
const char* LogManager::GetShortName(LOG_TYPE type) const
|
||||
{
|
||||
return m_log[type].m_short_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue