WPILibC++ 2023.4.3-108-ge5452e3
|
Functions | |
NT_DataLogger | nt::StartEntryDataLog (NT_Inst inst, wpi::log::DataLog &log, std::string_view prefix, std::string_view logPrefix) |
Starts logging entry changes to a DataLog. More... | |
void | nt::StopEntryDataLog (NT_DataLogger logger) |
Stops logging entry changes to a DataLog. More... | |
NT_ConnectionDataLogger | nt::StartConnectionDataLog (NT_Inst inst, wpi::log::DataLog &log, std::string_view name) |
Starts logging connection changes to a DataLog. More... | |
void | nt::StopConnectionDataLog (NT_ConnectionDataLogger logger) |
Stops logging connection changes to a DataLog. More... | |
NT_ConnectionDataLogger nt::StartConnectionDataLog | ( | NT_Inst | inst, |
wpi::log::DataLog & | log, | ||
std::string_view | name | ||
) |
Starts logging connection changes to a DataLog.
inst | instance handle |
log | data log object; lifetime must extend until StopConnectionDataLog is called or the instance is destroyed |
name | data log entry name |
NT_DataLogger nt::StartEntryDataLog | ( | NT_Inst | inst, |
wpi::log::DataLog & | log, | ||
std::string_view | prefix, | ||
std::string_view | logPrefix | ||
) |
Starts logging entry changes to a DataLog.
inst | instance handle |
log | data log object; lifetime must extend until StopEntryDataLog is called or the instance is destroyed |
prefix | only store entries with names that start with this prefix; the prefix is not included in the data log entry name |
logPrefix | prefix to add to data log entry names |
void nt::StopConnectionDataLog | ( | NT_ConnectionDataLogger | logger | ) |
Stops logging connection changes to a DataLog.
logger | data logger handle |
void nt::StopEntryDataLog | ( | NT_DataLogger | logger | ) |
Stops logging entry changes to a DataLog.
logger | data logger handle |