DataLogEntry

class wpilog.DataLogEntry

Bases: pybind11_object

Log entry base class.

finish(timestamp: SupportsInt | SupportsIndex = 0) None

Finishes the entry.

Parameters:

timestamp – Time stamp (may be 0 to indicate now)

setMetadata(metadata: str, timestamp: SupportsInt | SupportsIndex = 0) None

Updates the metadata for the entry.

Parameters:
  • metadata – New metadata for the entry

  • timestamp – Time stamp (may be 0 to indicate now)