DescriptionAdd Exception stack trace support to base.Log
When logging errors (Log.e), if the last argument is an exception,
its trace will be logged, like what happens with android.util.Log.
If the exception is used as argument for the format string, its
toString will be used in the message, then the trace will also be
printed, provided that it's the last argument.
BUG=474599
Committed: https://crrev.com/3c0c5b2708bc19d56ae4fc2609df0a2e5f3ff906
Cr-Commit-Position: refs/heads/master@{#324262}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Add throwable support everywhere, add Log#wtf #Messages
Total messages: 9 (2 generated)
|