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