Class DataLogReporter
java.lang.Object
dev.doglog.internal.log_thread.reporters.DataLogReporter
- All Implemented Interfaces:
Reporter
Logs to a WPILib
DataLog
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
This could be a static method, but it's not because this class controls initializingDataLogManager
, which has to be done before this method can be called.void
void
void
void
void
void
void
void
<T> void
<T> void
void
void
void
void
setOptions
(DogLogOptions options)
-
Constructor Details
-
DataLogReporter
-
-
Method Details
-
log
-
log
-
log
-
log
-
log
-
log
-
log
-
log
-
log
-
log
-
log
-
log
public <T> void log(long timestamp, String key, edu.wpi.first.util.struct.Struct<T> struct, T[] value) -
log
public <T> void log(long timestamp, String key, edu.wpi.first.util.struct.Struct<T> struct, T value) -
setOptions
-
isLogDestinationValid
public boolean isLogDestinationValid()This could be a static method, but it's not because this class controls initializingDataLogManager
, which has to be done before this method can be called.- Returns:
- Whether the log destination directory is valid. On a roboRIO 2 this is always true, on a roboRIO 1 this is true when a USB drive is attached.
-