[Lldb-commits] [PATCH] D128323: [lldb] Add support for specifying a log handler

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 22 11:23:58 PDT 2022


mib added inline comments.


================
Comment at: lldb/source/Commands/CommandObjectLog.cpp:167
       buffer_size.Clear();
+      handler = eLogHandlerStream;
       log_options = 0;
----------------
clayborg wrote:
> Do we want to define a "eLogHandlerDefault" which points to "eLogHandlerStream"?
I was hoping we could use a type alias for this, that marks `eLogHandlerStream` as `eLogHandlerDefault` but I couldn't find of a nice C++ way to do it :/ 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128323/new/

https://reviews.llvm.org/D128323



More information about the lldb-commits mailing list