public static class BufferedLogger.Entry extends java.lang.Object implements java.lang.Comparable<BufferedLogger.Entry>
| Modifier and Type | Field and Description |
|---|---|
long |
id |
java.time.Instant |
instant |
java.lang.String |
message |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BufferedLogger.Entry e)
Default comparator uses
id as the natural order, not the instant. |
Binder |
toBinder() |
java.lang.String |
toString() |
public final long id
public final java.time.Instant instant
public final java.lang.String message
protected Entry(Binder b)
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(BufferedLogger.Entry e)
id as the natural order, not the instant. Usually it is the same order but
there is no guarantees.compareTo in interface java.lang.Comparable<BufferedLogger.Entry>e - public Binder toBinder()