public static interface ComponentsSystrace.ArgsBuilder
Modifier and Type | Method and Description |
---|---|
ComponentsSystrace.ArgsBuilder |
arg(String key,
double value)
Logs an argument whose value is a double.
|
ComponentsSystrace.ArgsBuilder |
arg(String key,
int value)
Logs an argument whose value is an int.
|
ComponentsSystrace.ArgsBuilder |
arg(String key,
long value)
Logs an argument whose value is a long.
|
ComponentsSystrace.ArgsBuilder |
arg(String key,
Object value)
Logs an argument whose value is any object.
|
void |
flush()
Write the full message to the Systrace buffer.
|
void flush()
You must call this to log the trace message.
ComponentsSystrace.ArgsBuilder arg(String key, Object value)
String.valueOf(Object)
.ComponentsSystrace.ArgsBuilder arg(String key, int value)
String.valueOf(int)
.ComponentsSystrace.ArgsBuilder arg(String key, long value)
String.valueOf(long)
.ComponentsSystrace.ArgsBuilder arg(String key, double value)
String.valueOf(double)
.