mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-23 14:45:31 -07:00
run clang
This commit is contained in:
parent
125a84653c
commit
d4ed01562d
2 changed files with 4 additions and 4 deletions
|
@ -90,9 +90,9 @@ void SohMenu::AddMenuDevTools() {
|
||||||
AddWidget(path, "Log Level", WIDGET_CVAR_COMBOBOX)
|
AddWidget(path, "Log Level", WIDGET_CVAR_COMBOBOX)
|
||||||
.CVar("gDeveloperTools.LogLevel")
|
.CVar("gDeveloperTools.LogLevel")
|
||||||
.Options(ComboboxOptions()
|
.Options(ComboboxOptions()
|
||||||
.Tooltip("The log level determines which messages are printed to the "
|
.Tooltip("The log level determines which messages are printed to the "
|
||||||
"console. This does not affect the log file output")
|
"console. This does not affect the log file output")
|
||||||
.ComboMap(logLevels))
|
.ComboMap(logLevels))
|
||||||
.Callback([](WidgetInfo& info) {
|
.Callback([](WidgetInfo& info) {
|
||||||
Ship::Context::GetInstance()->GetLogger()->set_level(
|
Ship::Context::GetInstance()->GetLogger()->set_level(
|
||||||
(spdlog::level::level_enum)CVarGetInteger(CVAR_DEVELOPER_TOOLS("LogLevel"), 1));
|
(spdlog::level::level_enum)CVarGetInteger(CVAR_DEVELOPER_TOOLS("LogLevel"), 1));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue