public static interface MetricsFormatter.ValueFormatter extends ValueFormatter<MetricsFormatter.MetricValue>
| Modifier and Type | Field and Description |
|---|---|
static MetricsFormatter.ValueFormatter |
DEFAULT |
static String |
METRIC_INDEX
Placeholder in metrics-values string for the index of a metric
|
static String |
METRIC_NAME
Placeholder in metrics-values string for the name of a metric
|
static String |
METRIC_VALUE
Placeholder in metrics-values string for the value of a metric
|
ENTRY_ID, LINE, LINE_SEPARATOR, MESSAGE| Modifier and Type | Method and Description |
|---|---|
default Object |
entryId(long line,
long entryId,
MetricsFormatter.MetricValue value) |
default Object |
line(long line,
long entryId,
MetricsFormatter.MetricValue value) |
default Object |
metricIndex(long line,
long entryId,
MetricsFormatter.MetricValue value) |
default Object |
metricName(long line,
long entryId,
MetricsFormatter.MetricValue value) |
default Object |
metricValue(long line,
long entryId,
MetricsFormatter.MetricValue value) |
default Object |
value(String placeholder,
long line,
long entryId,
MetricsFormatter.MetricValue value) |
static final MetricsFormatter.ValueFormatter DEFAULT
static final String METRIC_NAME
static final String METRIC_VALUE
static final String METRIC_INDEX
default Object line(long line, long entryId, MetricsFormatter.MetricValue value)
default Object entryId(long line, long entryId, MetricsFormatter.MetricValue value)
default Object metricName(long line, long entryId, MetricsFormatter.MetricValue value)
default Object metricValue(long line, long entryId, MetricsFormatter.MetricValue value)
default Object metricIndex(long line, long entryId, MetricsFormatter.MetricValue value)
default Object value(String placeholder, long line, long entryId, MetricsFormatter.MetricValue value)
value in interface ValueFormatter<MetricsFormatter.MetricValue>Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.