Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lldb] Add TeeLogHandler to log to 2 handlers #90984

Merged
merged 2 commits into from
May 3, 2024

Conversation

JDevlieghere
Copy link
Member

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.

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.
lldb/source/Utility/Log.cpp Outdated Show resolved Hide resolved
@JDevlieghere JDevlieghere merged commit a8fbe50 into llvm:main May 3, 2024
4 checks passed
@JDevlieghere JDevlieghere deleted the tee-log-handler branch May 3, 2024 18:08
JDevlieghere added a commit to apple/llvm-project that referenced this pull request May 3, 2024
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.

(cherry picked from commit a8fbe50)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants