|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.util.logging.Redwood.Record
public static class Redwood.Record
A log record, which encapsulates the information needed to eventually display the enclosed message.
| Field Summary | |
|---|---|
java.lang.String |
callingClass
|
java.lang.String |
callingMethod
|
java.lang.Object |
content
|
int |
depth
|
long |
thread
|
long |
timesstamp
|
| Constructor Summary | |
|---|---|
protected |
Redwood.Record(java.lang.Object content,
java.lang.Object[] channels,
int depth,
java.lang.StackTraceElement stackTraceElement,
long timestamp)
Create a new Record, based on the content of the log, the channels, and the depth |
protected |
Redwood.Record(java.lang.Object content,
java.lang.Object[] channels,
int depth,
java.lang.String callingClass,
java.lang.String callingMethod,
long timestamp)
Create a new Record, based on the content of the log, the channels, and the depth |
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.Object content
public final int depth
public final java.lang.String callingClass
public final java.lang.String callingMethod
public final long timesstamp
public final long thread
| Constructor Detail |
|---|
protected Redwood.Record(java.lang.Object content,
java.lang.Object[] channels,
int depth,
java.lang.StackTraceElement stackTraceElement,
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 messagestackTraceElement - The stack trace element to extract the calling class and method fromtimestamp - The time this record was created
protected Redwood.Record(java.lang.Object content,
java.lang.Object[] channels,
int depth,
java.lang.String callingClass,
java.lang.String callingMethod,
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 messagecallingClass - The class this record should claim to be called fromcallingMethod - The method this record should claim to be called from| Method Detail |
|---|
public boolean force()
public java.lang.Object[] channels()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||