Add 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 Review URL: https://codereview.chromium.org/1069373002 Cr-Commit-Position: refs/heads/master@{#324262}
Showing
Please register or sign in to comment