withFormatter
Return a new StandardStackTracePrinter from this one uses the specified formatter to create a string representation of a throwable.
Return
a new StandardStackTracePrinter instance
Parameters
formatter
the formatter to use