commit | c4ee12e73fc844f28a9812a9141985cf05143a57 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Thu May 16 11:19:53 2013 -0700 |
committer | Ian Rogers <irogers@google.com> | Thu May 16 11:26:24 2013 -0700 |
tree | 59ea9f105b39b05beea9ff17cda83f1122461629 | |
parent | d8274bcbc565fff1254574b3cbf46dc4e7b52812 [diff] |
Avoid recursion if logging lock is corrupt. If the logging lock is corrupt then using LOG fails and recursive death ensues. Make Mutex a friend of LogMessage so that it can do raw logging in this special situation. Opportunistically also make fields of LogMessage and LogMessageData that can be const, const. Change-Id: I9e0d07c3224096bcf03d6410cd64bb8b5c831fac