RawLogEntry
- class wpiutil.log.RawLogEntry(*args, **kwargs)
Bases:
DataLogEntry
Log arbitrary byte data.
Overloaded function.
__init__(self: wpiutil._wpiutil.log.RawLogEntry, log: wpiutil._wpiutil.log.DataLog, name: str, timestamp: int = 0) -> None
__init__(self: wpiutil._wpiutil.log.RawLogEntry, log: wpiutil._wpiutil.log.DataLog, name: str, metadata: str, timestamp: int = 0) -> None
__init__(self: wpiutil._wpiutil.log.RawLogEntry, log: wpiutil._wpiutil.log.DataLog, name: str, metadata: str, type: str, timestamp: int = 0) -> None
- append(data: Buffer, timestamp: int = 0) None
Appends a record to the log.
- Parameters:
data – Data to record
timestamp – Time stamp (may be 0 to indicate now)
- kDataType = 'raw'