LogManager: remove per-container verbosities

This commit is contained in:
Michael Maltese
2017-07-07 15:08:57 -07:00
parent 26aa9f88a4
commit 546fa628fb
3 changed files with 16 additions and 18 deletions

View File

@ -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();
}