|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.util.logging.LogRecordHandler
edu.stanford.nlp.util.logging.OutputHandler
edu.stanford.nlp.util.logging.Redwood.FileHandler
public static class Redwood.FileHandler
Handler which prints to a specified file TODO: make constructors for other ways of describing files (File, for example!)
Field Summary |
---|
Fields inherited from class edu.stanford.nlp.util.logging.OutputHandler |
---|
addRandomColors, channelColors, channelSeparatorChar, channelStyles, info, leftMargin, minLineCountForTrackNameReminder, queuedTracks, tab, trackColor, trackStack, trackStyle |
Fields inherited from class edu.stanford.nlp.util.logging.LogRecordHandler |
---|
EMPTY |
Constructor Summary | |
---|---|
Redwood.FileHandler(java.lang.String filename)
|
Method Summary | |
---|---|
void |
print(java.lang.Object[] channels,
java.lang.String line)
Print a string to an output without the trailing newline. |
Methods inherited from class edu.stanford.nlp.util.logging.OutputHandler |
---|
colorChannel, formatChannel, handle, setColorChannels, signalEndTrack, signalStartTrack, style, styleChannel |
Methods inherited from class edu.stanford.nlp.util.logging.LogRecordHandler |
---|
signalShutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Redwood.FileHandler(java.lang.String filename)
Method Detail |
---|
public void print(java.lang.Object[] channels, java.lang.String line)
print
in class OutputHandler
channels
- The channels this message was printed on; in most cases
an implementing handler should not have to do anything with
this. The channels should not be printed here.
The channels may be null.line
- The string to be printed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |