public static interface Telemetry.Log
Telemetry.Log
in a Telemetry
instance provides an append-only list of messages
that appear on the driver station below the Telemetry.Item
s of the Telemetry
.Telemetry.log()
,
Telemetry.addData(String, Object)
Modifier and Type | Interface and Description |
---|---|
static class |
Telemetry.Log.DisplayOrder
Telemetry.Log.DisplayOrder instances indicate the desired ordering of a Telemetry.log() . |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String entry)
Adds a new entry the the log.
|
void |
add(java.lang.String format,
java.lang.Object... args)
Adds a new entry to the log.
|
void |
clear()
Removes all entries from this
Telemetry.Log |
int |
getCapacity()
Returns the maximum number of lines which will be retained in a
Telemetry.log()() and
shown on the driver station display. |
Telemetry.Log.DisplayOrder |
getDisplayOrder()
Returns the order in which data in log is to be displayed on the driver station.
|
void |
setCapacity(int capacity) |
void |
setDisplayOrder(Telemetry.Log.DisplayOrder displayOrder) |
int getCapacity()
Telemetry.log()()
and
shown on the driver station display.Telemetry.log()()
setCapacity(int)
void setCapacity(int capacity)
getCapacity()
Telemetry.Log.DisplayOrder getDisplayOrder()
setDisplayOrder(DisplayOrder)
void setDisplayOrder(Telemetry.Log.DisplayOrder displayOrder)
getDisplayOrder()
void add(java.lang.String entry)
entry
- the new log entry to addvoid add(java.lang.String format, java.lang.Object... args)
format
- the format string used to format the log entryargs
- the data used to format the log entryvoid clear()
Telemetry.Log