public static class TracingInfo.Message
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long |
duration
In nanos.
|
private TracingLogger.Event |
event
Event type.
|
private java.lang.String |
text
Already formatted text.
|
private long |
timestamp
In nanos.
|
Constructor and Description |
---|
Message(TracingLogger.Event event,
long duration,
java.lang.String[] args)
Create a new trace message.
|
Modifier and Type | Method and Description |
---|---|
private long |
getDuration() |
private TracingLogger.Event |
getEvent() |
private long |
getTimestamp() |
java.lang.String |
toString() |
private final TracingLogger.Event event
private final long duration
private final long timestamp
private final java.lang.String text
public Message(TracingLogger.Event event, long duration, java.lang.String[] args)
event
- trace event.duration
- event duration.args
- message arguments.private TracingLogger.Event getEvent()
private long getDuration()
private long getTimestamp()
public java.lang.String toString()
toString
in class java.lang.Object