Преглед на файлове

List the trace level in the log filter

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
stan преди 1 седмица
родител
ревизия
6d1aec7bb6
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      Sunrise/src/core/ui/modules/logs/filters/logs_filter_controls.cpp

+ 2 - 1
Sunrise/src/core/ui/modules/logs/filters/logs_filter_controls.cpp

@@ -41,12 +41,13 @@ constexpr std::array<ChannelChoice, 6> kChannelChoices{{
     {"Middleware", true, log::Channel::middleware},
 }};
 /** Ordered choices map the level combo index to one exact emitted severity. */
-constexpr std::array<LevelChoice, 5> kLevelChoices{{
+constexpr std::array<LevelChoice, 6> kLevelChoices{{
     {"All levels", false, log::Level::error},
     {"Error", true, log::Level::error},
     {"Warn", true, log::Level::warn},
     {"Info", true, log::Level::info},
     {"Debug", true, log::Level::debug},
+    {"Trace", true, log::Level::trace},
 }};
 
 struct SelectionState {