
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.
4 lines
148 B
Plaintext
4 lines
148 B
Plaintext
RUN: %lldb -o 'log list' -o 'log disable system' 2>&1 | FileCheck %s
|
|
CHECK-NOT: Logging categories for 'system'
|
|
CHECK: Invalid log channel 'system'
|