public abstract class AylaMetric
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AylaMetric.LogLevel |
static class |
AylaMetric.Result |
Constructor and Description |
---|
AylaMetric(AylaMetric.LogLevel logLevel,
java.lang.String metricType,
java.lang.String methodName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
setMetricText(java.lang.String text)
Set additional data to be sent in text field of the metrics json.
|
public AylaMetric(AylaMetric.LogLevel logLevel, java.lang.String metricType, java.lang.String methodName)
logLevel
- Log level.metricType
- Type of this metric.methodName
- Method from which this metric is generated.public void setMetricText(java.lang.String text)
text
- additional text to be added to the metric json.