edu.stanford.nlp.util.logging
Class Redwood.ConsoleHandler
java.lang.Object
edu.stanford.nlp.util.logging.LogRecordHandler
edu.stanford.nlp.util.logging.OutputHandler
edu.stanford.nlp.util.logging.Redwood.ConsoleHandler
- Enclosing class:
- Redwood
public static class Redwood.ConsoleHandler
- extends OutputHandler
Default output handler which actually prints things to the real System.out
Fields inherited from class edu.stanford.nlp.util.logging.OutputHandler |
addRandomColors, channelColors, channelSeparatorChar, channelStyles, info, leftMargin, minLineCountForTrackNameReminder, queuedTracks, tab, trackColor, trackStack, trackStyle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
print
public void print(String line)
- Print a string to the console, in STDOUT, without the trailing newline
- Specified by:
print
in class OutputHandler
- Parameters:
line
- The string to be printed.
out
public static Redwood.ConsoleHandler out()
err
public static Redwood.ConsoleHandler err()
Stanford NLP Group