Class FaultLogger
java.lang.Object
dev.doglog.internal.FaultLogger
Provides the interface for logging faults. Faults are a DogLog concept that were created prior to
WPILib alerts. Alerts are great but are NT only, so faults allow DogLog to provide a simple
interface to logging errors that writes to both NT and DataLog.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidLog a fault.static voidclearFault(String faultName) static voiddecreaseFault(String faultName) Remove the alert associated with a fault.static booleanstatic boolean
-
Method Details
-
addFault
-
addFault
-
clearFault
-
decreaseFault
Remove the alert associated with a fault.- Parameters:
faultName- The name of the fault to remove.
-
faultsActive
public static boolean faultsActive() -
faultsLogged
public static boolean faultsLogged()
-