Log arbitrary byte data.
More...
#include <wpi/DataLog.h>
|
| RawLogEntry ()=default |
|
| RawLogEntry (DataLog &log, std::string_view name, int64_t timestamp=0) |
|
| RawLogEntry (DataLog &log, std::string_view name, std::string_view metadata, int64_t timestamp=0) |
|
| RawLogEntry (DataLog &log, std::string_view name, std::string_view metadata, std::string_view type, int64_t timestamp=0) |
|
void | Append (std::span< const uint8_t > data, int64_t timestamp=0) |
| Appends a record to the log. More...
|
|
| DataLogEntry (const DataLogEntry &)=delete |
|
DataLogEntry & | operator= (const DataLogEntry &)=delete |
|
| DataLogEntry (DataLogEntry &&rhs) |
|
DataLogEntry & | operator= (DataLogEntry &&rhs) |
|
| operator bool () const |
|
void | SetMetadata (std::string_view metadata, int64_t timestamp=0) |
| Updates the metadata for the entry. More...
|
|
void | Finish (int64_t timestamp=0) |
| Finishes the entry. More...
|
|
◆ RawLogEntry() [1/4]
wpi::log::RawLogEntry::RawLogEntry |
( |
| ) |
|
|
default |
◆ RawLogEntry() [2/4]
◆ RawLogEntry() [3/4]
◆ RawLogEntry() [4/4]
◆ Append()
void wpi::log::RawLogEntry::Append |
( |
std::span< const uint8_t > |
data, |
|
|
int64_t |
timestamp = 0 |
|
) |
| |
|
inline |
Appends a record to the log.
- Parameters
-
data | Data to record |
timestamp | Time stamp (may be 0 to indicate now) |
◆ kDataType
The documentation for this class was generated from the following file: