Class PersistentLog
java.lang.Object
eu.svjatoslav.aukio.e3d.diag.PersistentLog
Persistent rolling log: tees
System.out and System.err
into a log file on disk so a hung or crashed session still leaves its
full output behind.
The file lives at <logDir>/aukio.log and is rotated to
aukio.log.1 (one backup kept) once it exceeds
4194304L. Writes are flushed per line so the last output
before an OutOfMemory freeze is on disk even when the application can
no longer react to window events.
- See Also:
-
Method Details
-
install
public static void install()Installs the tee. Idempotent; failures (unwritable directory) fall back to console-only logging and are reported on stderr. -
getLogFile
The current log file, or null when persistent logging failed.
-