Skip to content

Conversation

FireAndIceFrog
Copy link

Pretty Printer:

When passing a stack trace to Log.d it obeys the errorMethodCount instead of the methodCount when cutting the size of the stack trace.

This is not ideal because I might just want to pass in an arbitrary stack trace without making it error.

Solution:

Make the stack trace sliced via either the methodCount or errorMethodCount depending on whether the error is defined (not null)

@neiljaywarner
Copy link

This seems like a good idea to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants