private void printWithBanner(final String s, final char c) {
        if (!this.prefix.isEmpty()) {
            this.output.print(this.prefix);
            this.output.print(' ');
        }
        this.output.print(s);
        this.output.print(' ');
        for (int i = 0; i < (CONSOLE_WIDTH - s.length() - 1); i++) {
            this.output.print(c);
        }
        this.output.println();
    }
Builds a {@link MetricReporter} with the given properties.

@return a {@link MetricReporter}
jraft-core/src/main/java/com/alipay/sofa/jraft/util/MetricReporter.java