Skip to content

LogCommand

The LogCommand is a utility command that provides a simple way to log string values to the AdvantageKit logging system during robot operation. It executes instantly and can be used for debugging, state tracking, or data collection purposes.

Subsystem Requirements

This command does not require any subsystems to operate.

Constructor Parameters

public LogCommand(String key, String value)
  • key: The identifier under which the value will be logged in AdvantageKit
  • value: The string value to be recorded

Configuration Requirements

No additional configuration is required for this command.

View Javadoc Reference