Package slash.common.log
Class CrashReportSpool
java.lang.Object
slash.common.log.CrashReportSpool
A small on-disk spool of structured crash reports. A captured crash is written
here as one JSON file before the report dialog is offered, so a crash before the
dialog can be shown (or before login) is not lost and can be offered on the next
successful launch. The spool is capped so it cannot grow without bound; the oldest
files are deleted first.
- Author:
- Christian Pesch
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CrashReportSpool
-
-
Method Details
-
createDefault
-
write
- Throws:
IOException
-
list
-
newest
-
read
- Throws:
IOException
-
delete
-