How to add tags to android stack traces?

When using e.printStackTrace(), clicking a line in logcat jumps to the offending line of code.

I'd like to add a tag to these traces, but Log.e(String tag, String msg, Throwable tr) only prints out the exception name.

Is there a way to do this, that retains the click behaviour?

7
задан 1 April 2011 в 08:02
поделиться