[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 23 09:12:50 PDT 2025


================
@@ -109,6 +109,10 @@ class Host {
   /// Emit the given message to the operating system log.
   static void SystemLog(lldb::Severity severity, llvm::StringRef message);
 
+  /// Emit the given message to the stdout or stderr depending on severity.
+  static void SystemLogFallback(lldb::Severity severity,
----------------
JDevlieghere wrote:

Do we even need this fallback? I wonder if spamming stdout/stderr isn't worse than having no logging at all. 

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


More information about the lldb-commits mailing list