Modifier and Type | Field and Description |
---|---|
Object |
content |
int |
depth |
long |
thread |
long |
timesstamp |
Modifier | Constructor and Description |
---|---|
protected |
Record(Object content,
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 |
---|---|
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
|
String |
toString() |
public final Object content
public final int depth
public final long timesstamp
public final long thread
protected Record(Object content, 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 Object[] channels()