public abstract class LogStatement extends Object
velog statement.| Modifier and Type | Method and Description |
|---|---|
static LogStatement |
create(long id,
com.google.protobuf.Message data,
boolean logOnly) |
abstract com.google.protobuf.Message |
data()
An optional proto that is logged by the
data="<...>" expression. |
abstract long |
id()
The id of the element being logged, as specified by
LoggableElement#getId(). |
abstract boolean |
logOnly()
The value of the
logonly="<...>" expression. |
String |
toString() |
public static LogStatement create(long id, @Nullable com.google.protobuf.Message data, boolean logOnly)
public abstract long id()
LoggableElement#getId().@Nullable public abstract com.google.protobuf.Message data()
data="<...>" expression. The type will be what
is specifed by the corresponding LoggableElement#getProtoType().public abstract boolean logOnly()
logonly="<...>" expression. Default is false if not specified.