log

infix fun String.log(value: Any)

Top-level logging helper extension.

Provides an infix extension method String.log that records values of many common types (primitives, arrays, WPISerializable/StructSerializable, and wpilib Measure) to org.littletonrobotics.junction.Logger.recordOutput.

Unsupported types are converted to their string representation before recording. Use it directly as: "myKey" log value