commit | a51a9564fd53b661446cd63eea23208656acc678 | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Tue Apr 17 17:05:26 2012 -0700 |
committer | Craig Mautner <cmautner@google.com> | Tue Apr 17 17:25:50 2012 -0700 |
tree | 08b84aa11dd9b02309c1fa6508d2fd73e16e033d | |
parent | c843642fbb76619520f960043adaa268e252a657 [diff] |
Add call-stack reporting methods into Debug Added two public methods to Debug. These methods return a String indicating the caller (getCaller()) or callers (getCallers(int depth)) of the calling method. The String indicates the class, method and line number of the caller(s). Similar to using Throwable.fillInStackTrace() but much more concise. Change-Id: I53d0085aa50e4501d28e8eb3ad5b91ef700ac218