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

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 3 13:52:50 PST 2017


labath added a comment.

I'm not opposed to this patch, if people really want it, but I don't really see the value of this macro.
Why couldn't I write
`LLDB_LOG(log, "foo: {0}", error);`
instead of
`LLDB_LOG_ERROR(log, error, "foo");`
Am I missing something?


https://reviews.llvm.org/D29514





More information about the lldb-commits mailing list