Skip to content

Commit

Permalink
Actually use the base unit symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
WispySparks committed Dec 13, 2024
1 parent 6e507e8 commit c929fba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ default <S> void log(String identifier, Collection<S> value, Struct<S> struct) {
* @param value the new value of the data field
*/
default void log(String identifier, Measure<?> value) {
log(identifier + " (" + value.unit().symbol() + ")", value.baseUnitMagnitude());
log(identifier + " (" + value.baseUnit().symbol() + ")", value.baseUnitMagnitude());
}

/**
Expand Down

0 comments on commit c929fba

Please sign in to comment.