Class CrashTracker

java.lang.Object
frc.spectrumLib.util.CrashTracker

public class CrashTracker extends Object
Tracks start-up and caught crash events, logging them to a file which doesn't roll over
  • Constructor Details

    • CrashTracker

      public CrashTracker()
  • Method Details

    • logThrowableCrash

      public static void logThrowableCrash(Throwable throwable)
      Appends the run UUID, an "Exception" marker, the current time, and the stack trace to '/home/systemcore/crash_tracking.txt'. Entries are appended, never overwritten.
      Parameters:
      throwable - The Throwable exception to log. Can be any subclass of Throwable, capturing errors and exceptions that occur during the application's execution.