[all-commits] [llvm/llvm-project] a8fbe5: [lldb] Add TeeLogHandler to log to 2 handlers (#90...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri May 3 11:09:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8fbe500fe2ecdbd3c09ed06788092937819411f
      https://github.com/llvm/llvm-project/commit/a8fbe500fe2ecdbd3c09ed06788092937819411f
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M lldb/include/lldb/Utility/Log.h
    M lldb/source/Utility/Log.cpp
    M lldb/unittests/Utility/LogTest.cpp

  Log Message:
  -----------
  [lldb] Add TeeLogHandler to log to 2 handlers (#90984)

Add a T-style log handler that multiplexes messages to two log handlers.
The goal is to use this in combination with the SystemLogHandler to log
messages both to the user requested file as well as the system log. The
latter is part of a sysdiagnose on Darwin which is commonly attached to
bug reports.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list