[all-commits] [llvm/llvm-project] c77b10: [lldb] Introduce an always-on system log category/...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Oct 10 08:47:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c77b10746160f985625603b1e9c837b44caa5c67
      https://github.com/llvm/llvm-project/commit/c77b10746160f985625603b1e9c837b44caa5c67
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/include/lldb/Host/Host.h
    M lldb/include/lldb/Utility/Log.h
    M lldb/source/API/SystemInitializerFull.cpp
    M lldb/source/Host/common/Host.cpp
    M lldb/source/Host/common/HostInfoBase.cpp
    M lldb/source/Utility/Log.cpp
    A lldb/test/Shell/Host/TestSytemLogChannel.test

  Log Message:
  -----------
  [lldb] Introduce an always-on system log category/channel (#108495)

Add an "always on" log category and channel. Unlike other, existing log
channels, it is not exposed to users. The channel is meant to be used
sparsely and deliberately for logging high-value information to the
system log.

We have a similar concept in the downstream Swift fork and this has
proven to be extremely valuable. This is especially true on macOS where
system log messages are automatically captured as part of a sysdiagnose.



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