[Lldb-commits] [lldb] [lldb] Introduce an always-on system log category/channel (PR #108495)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 13 01:29:05 PDT 2024
DavidSpickett wrote:
> Unlike other, existing log channels, it is not exposed to users.
This is presumably because:
1. It contains very low level messages they likely won't be interested in.
2. If it weren't hidden, it would be printing into their sessions all the time.
Users can still list it, I see that from the test, but that's fine we don't need to lie about its existence.
If someone suspects that a relevant message might be in this channel how do they look at it? Do they crash lldb / use a command to dump an archive of logs?
> The channel is meant to be used sparsely and deliberately for logging high-value information to the system log.
What is an example of that? So that folks (aka me) have an idea what might go here for other OSs. Is it stuff like this process was killed for this reason, this system resource had to be cleared, that sort of thing?
https://github.com/llvm/llvm-project/pull/108495
More information about the lldb-commits
mailing list