[Lldb-commits] [lldb] [lldb] Add a log level to Host::SystemLog (PR #90904)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu May 2 16:10:30 PDT 2024


================
@@ -87,8 +87,15 @@ class Host {
   StartMonitoringChildProcess(const MonitorChildProcessCallback &callback,
                               lldb::pid_t pid);
 
+  /// System log level.
+  enum SystemLogLevel {
+    eSystemLogInfo,
+    eSystemLogWarning,
----------------
adrian-prantl wrote:

Is there a good reason to keep this separate from DiagnosticSeverity?
https://lldb.llvm.org/cpp_reference/namespacelldb__private.html#a3b3fff978827f40d27f288b4f1f29369
Maybe we could factor this into private enums?

https://github.com/llvm/llvm-project/pull/90904


More information about the lldb-commits mailing list