log

public final static Unit log(String key, Double value)

Logs a double value with a specified key if the system is in test mode.

Parameters

key

The key associated with the value to log.

value

The double value to log.


public final static Unit log(String key, Integer value)

Logs an integer value with a specified key if the system is in test mode.

Parameters

key

The key associated with the value to log.

value

The integer value to log.


public final static Unit log(String key, Boolean value)

Logs a boolean value with a specified key if the system is in test mode.

Parameters

key

The key associated with the value to log.

value

The boolean value to log.


public final static Unit log(String key, String value)

Logs a String value with a specified key if the system is in test mode.

Parameters

key

The key associated with the value to log.

value

The String value to log.


public final static Unit log<T extends WPISerializable>(String key, T value)

Logs a WPISerializable value with a specified key if the system is in test mode.

Parameters

key

The key associated with the value to log.

value

The WPISerializable value to log.


public final static Unit log<T extends StructSerializable>(String key, T value)

Logs a SwerveModuleState value with a specified key if the system is in test mode.

Parameters

key

The key associated with the value to log.

value

The SwerveModuleState value to log.