Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make some methods open to allow custom Throwable format #437

Open
ichenhe opened this issue Aug 12, 2021 · 0 comments
Open

Make some methods open to allow custom Throwable format #437

ichenhe opened this issue Aug 12, 2021 · 0 comments

Comments

@ichenhe
Copy link

ichenhe commented Aug 12, 2021

The default handling of Throwable is to print the full stack, which may be too large.

Actually, I don't think prepareLog should append the throwable to the message so that the subclass can decide what to do with them.

But in order not to break the behavior, could you make prepareLog() or getStackTraceString() open and protecte? Then I can change the format.

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

No branches or pull requests

2 participants
@ichenhe and others