MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / LogLevelChanged

Method LogLevelChanged

TranslucentTB/mainappwindow.cpp:197–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197void MainAppWindow::LogLevelChanged(const txmp::LogLevel &level)
198{
199 const auto spdlogLevel = static_cast<spdlog::level::level_enum>(level);
200
201 auto &configManager = m_App.GetConfigManager();
202 configManager.GetConfig().LogVerbosity = spdlogLevel;
203 configManager.UpdateVerbosity();
204}
205
206void MainAppWindow::DumpDynamicStateRequested()
207{

Callers 1

RegisterMenuHandlersMethod · 0.80

Calls 2

GetConfigMethod · 0.80
UpdateVerbosityMethod · 0.80

Tested by

no test coverage detected