edu.stanford.nlp.util.logging
Class Redwood.FileHandler
java.lang.Object
edu.stanford.nlp.util.logging.LogRecordHandler
edu.stanford.nlp.util.logging.OutputHandler
edu.stanford.nlp.util.logging.Redwood.FileHandler
- Enclosing class:
- Redwood
public static class Redwood.FileHandler
- extends OutputHandler
Handler which prints to a specified file
Fields inherited from class edu.stanford.nlp.util.logging.OutputHandler |
addRandomColors, channelColors, channelSeparatorChar, channelStyles, info, leftMargin, minLineCountForTrackNameReminder, queuedTracks, tab, trackColor, trackStack, trackStyle |
Method Summary |
void |
print(String line)
Print a string to an output without the trailing newline. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Redwood.FileHandler
public Redwood.FileHandler(String filename)
print
public void print(String line)
- Print a string to an output without the trailing newline.
Many output handlers can get by with just implementing this method.
- Specified by:
print
in class OutputHandler
- Parameters:
line
- The string to be printed.
Stanford NLP Group