Open FireAndIceFrog opened 2 years ago
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.
Make the stack trace sliced via either the methodCount or errorMethodCount depending on whether the error is defined (not null)
This seems like a good idea to me.
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)