public static <T> String toPaddedMultiLine(final String padding,
                                               final String multiLineMessage) {
        if (multiLineMessage == null || multiLineMessage.isBlank()) {
            return "";
        } else {
            return multiLineMessage.lines()
                    .map(line -> Objects.requireNonNullElse(padding, "") + line)
                    .collect(Collectors.joining("\n"));
        }
    }
Output the value with its percentage of {@code total}, e.g. {@code 1000 (10%)}.
Supports numbers and {@link Duration} and {@link DurationAdder}.
stroom-util/src/main/java/stroom/util/logging/LogUtil.java