Fix stack traces

They used to be full of irrelevant LogData and async stacks. Make sure that we
capture an error in the LogData constructor and hide the logger call itself.

Change-Id: Ia108215ed1e75eacf3bde66020fb220bf2483258
Merge "Fix stack traces"