edu.stanford.nlp.util.logging
Class Redwood.ConsoleHandler

java.lang.Object
  extended by edu.stanford.nlp.util.logging.LogRecordHandler
      extended by edu.stanford.nlp.util.logging.OutputHandler
          extended by 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


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
 
Method Summary
static Redwood.ConsoleHandler err()
           
static Redwood.ConsoleHandler out()
           
 void print(String line)
          Print a string to the console, in STDOUT, without the trailing newline
 
Methods inherited from class edu.stanford.nlp.util.logging.OutputHandler
colorChannel, 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
 

Method Detail

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