We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ColorScheme::stackTraceText(Throwable)
Currently, client code using ColorScheme::stackTraceText looks like this:
ColorScheme::stackTraceText
StringWriter sw = new StringWriter(); ex.printStackTrace(new PrintWriter(sw, true)); err.println(cmd.getColorScheme().stackTraceText(sw.toString()));
We can add a convenience API that accepts a Throwable, so that the above can be reduced to one line:
Throwable
err.println(cmd.getColorScheme().stackTraceText(ex));
The text was updated successfully, but these errors were encountered:
98901b5
[#1129] update release notes and user manual
7eec117
No branches or pull requests
Currently, client code using
ColorScheme::stackTraceText
looks like this:We can add a convenience API that accepts a
Throwable
, so that the above can be reduced to one line:The text was updated successfully, but these errors were encountered: