[Lldb-commits] [PATCH] D29514: Change Error::PutToLog to LLDB_LOG_ERROR

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 3 14:04:00 PST 2017


clayborg added a comment.

I realize the functionality would add a "error: " prefix if it wasn't there, but it seems like we could add this as a formatting option of the lldb_private::Error class? Then we can just switch the logging code to put the error in as a log item and add the extra flag to ensure we print "error:" it is isn't already prefixed with that?


https://reviews.llvm.org/D29514





More information about the lldb-commits mailing list