summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2016-03-08 15:11:15 -0800
committer Felipe Leme <felipeal@google.com> 2016-03-08 15:34:31 -0800
commit107a05f72e711c92545d0be648ab79c4f858f372 (patch)
tree56fbdea169efd08bd72c260d68198b53cbc236a5 /libs/gui/ConsumerBase.cpp
parent82a7ddc4b1ddc76df553c2633ce3bfe72bb9319b (diff)
Improved usage of stderr for logging.
Dumpstate have some macros that write logs to both ALOG and stderr, which is useful when the latter is redirected to a file. But prior to this change, only the log statements from dumpstate.cpp were using it, and utils.cpp was logging to stderr directly. This change not only uses MYLOGE for all error messages, but also closes stderr at the very end (so it doesn't miss statements like the parameters sent to send_broadcast) and uses MYLOGD for the overall progress. BUG: 27437378 Change-Id: I373a523e20c98d8f445822103784fa9900c6c684
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions