diff --git a/epilogue-runtime/src/main/java/edu/wpi/first/epilogue/logging/EpilogueBackend.java b/epilogue-runtime/src/main/java/edu/wpi/first/epilogue/logging/EpilogueBackend.java index 6759460fadd..f006a319dca 100644 --- a/epilogue-runtime/src/main/java/edu/wpi/first/epilogue/logging/EpilogueBackend.java +++ b/epilogue-runtime/src/main/java/edu/wpi/first/epilogue/logging/EpilogueBackend.java @@ -198,10 +198,9 @@ default void log(String identifier, Collection value, Struct struct) { * * @param identifier the identifier of the data field * @param value the new value of the data field - * @param the dimension of the unit */ - default void log(String identifier, Measure value) { - log(identifier, value, value.baseUnit()); + default void log(String identifier, Measure value) { + log(identifier, value.baseUnitMagnitude()); } /** @@ -213,7 +212,7 @@ default void log(String identifier, Measure value) { * @param the dimension of the unit */ default void log(String identifier, Measure value, U unit) { - log(identifier + " (" + unit.symbol() + ")", value.in(unit)); + log(identifier, value.in(unit)); } /**