public static class Redwood.Record
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
content |
int |
depth |
long |
thread |
long |
timesstamp |
Modifier | Constructor and Description |
---|---|
protected |
Record(java.lang.Object content,
java.lang.Object[] channels,
int depth,
long timestamp)
Create a new Record, based on the content of the log, the channels, and
the depth
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
channels()
Returns the channels for this record, in sorted order (special channels first, then alphabetical)
|
boolean |
force()
Returns whether this log message wants to be forced to be printed
|
java.lang.String |
toString() |
public final java.lang.Object content
public final int depth
public final long timesstamp
public final long thread
protected Record(java.lang.Object content, java.lang.Object[] channels, int depth, long timestamp)
content
- An object (usually String) representing the log contentschannels
- A set of channels to publish this record todepth
- The depth of the log messagepublic boolean force()
public java.lang.Object[] channels()
public java.lang.String toString()
toString
in class java.lang.Object