diff --git a/src/main/kotlin/com/team4099/robot2023/util/CustomLogger.kt b/src/main/kotlin/com/team4099/robot2023/util/CustomLogger.kt index bd08afdd..e52956c4 100644 --- a/src/main/kotlin/com/team4099/robot2023/util/CustomLogger.kt +++ b/src/main/kotlin/com/team4099/robot2023/util/CustomLogger.kt @@ -7,9 +7,14 @@ import edu.wpi.first.util.struct.Struct import edu.wpi.first.util.struct.StructSerializable import edu.wpi.first.wpilibj.smartdashboard.Mechanism2d import org.littletonrobotics.junction.Logger +import org.littletonrobotics.junction.inputs.LoggableInputs class CustomLogger { companion object { + inline fun processInputs(key: String, inputs: LoggableInputs) { + Logger.processInputs(key, inputs) + } + inline fun > recordOutput(key: String, value: E) { Logger.recordOutput(key, value) }