public final class InsightBuilder extends Object
Constructor and Description |
---|
InsightBuilder() |
Modifier and Type | Method and Description |
---|---|
InsightBuilder |
append(Object insight)
Appends a piece of information which is a plain string.
|
InsightBuilder |
appendKeyValue(String key,
Object value)
Appends a piece of information which is a key-value , which will be formatted into
"key=value" . |
String |
toString()
Get the resulting string.
|
public InsightBuilder append(@Nullable Object insight)
public InsightBuilder appendKeyValue(String key, @Nullable Object value)
"key=value"
. Value's toString()
or null
is immediately recorded.Copyright © 2019. All rights reserved.