public class Report extends Object
| Constructor and Description |
|---|
Report(File output)
A constructor used to establish our file output for our report log.
|
Report(Path path)
A constructor used to establish our file output for our report log.
|
Report(String path)
A constructor used to establish our file output for our report log.
|
| Modifier and Type | Method and Description |
|---|---|
void |
create(@NotNull Throwable thrown)
A method used to create our report.
|
void |
create(@NotNull Throwable thrown,
boolean silent)
A method used to create our report with an option to specify if the stacktrace should
be silent.
|
public Report(File output)
output - Output filepublic Report(String path)
path - Output file pathpublic Report(Path path)
path - Output file pathpublic void create(@NotNull
@NotNull Throwable thrown,
boolean silent)
thrown - Exception caughtsilent - Whether the stacktrace should print silently.create(Throwable)public void create(@NotNull
@NotNull Throwable thrown)
create(Throwable, boolean).thrown - Exception caughtcreate(Throwable, boolean)Copyright © 2022. All rights reserved.