Class DataLogWriter
java.lang.Object
dev.doglog.internal.log_thread.writers.DataLogWriter
- All Implemented Interfaces:
LogWriterBase
,LogWriterLowLevel
Logs to a WPILib
DataLog
.-
Constructor Summary
Constructors -
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
-
DataLogWriter
-
-
Method Details
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterBase
-
log
- Specified by:
log
in interfaceLogWriterLowLevel
-
log
- Specified by:
log
in interfaceLogWriterLowLevel
-
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.
-