public class ExceptionReportUtil extends Object
ExceptionReport
.Constructor and Description |
---|
ExceptionReportUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
generateReportString(String reportTitle,
ExceptionReport report,
boolean includeStackTrace)
Generate a string suitable for logging from the given report.
|
public static String generateReportString(String reportTitle, ExceptionReport report, boolean includeStackTrace)
reportTitle
- the title to include at the top of the log messagereport
- the reportincludeStackTrace
- whether to include the details of any exceptions raisedCopyright © 2003–2020 Atlassian. All rights reserved.