clayborg added a comment. I could also imagine having multiple options. For example
--buffered <count> would specify to buffer the output and only flush if we go over <count> bytes. This could improve logging speeds. --circular would enable circular buffering where things are never flushed unless manually done with "log circular dump" Then we need to manage these settings inside of each LogHandler instance since "--buffered" could work for StreamLogHandler and for CallbackLogHandler. I am just tossing out ideas here just in case any of them make sense as I am thinking about this patch. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D127986/new/ https://reviews.llvm.org/D127986 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits