mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
LogManager: remove per-container verbosities
This commit is contained in:
parent
26aa9f88a4
commit
546fa628fb
3 changed files with 16 additions and 18 deletions
|
@ -155,14 +155,8 @@ void LogConfigWindow::SaveSettings()
|
|||
// If the verbosity changes while logging
|
||||
void LogConfigWindow::OnVerbosityChange(wxCommandEvent& event)
|
||||
{
|
||||
// Get the new verbosity
|
||||
int v = m_verbosity->GetSelection() + 1;
|
||||
|
||||
// Set all log types to that verbosity level
|
||||
for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; i++)
|
||||
{
|
||||
m_LogManager->SetLogLevel((LogTypes::LOG_TYPE)i, (LogTypes::LOG_LEVELS)v);
|
||||
}
|
||||
m_LogManager->SetLogLevel(static_cast<LogTypes::LOG_LEVELS>(v));
|
||||
|
||||
event.Skip();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue