| Redirect an output stream to a logger.
This class is useful to redirect standard output or
standard error to a Logger. An example use is
final LoggerOutputStream outputStream =
new LoggerOutputStream( logger, Priority.DEBUG );
final PrintStream output = new PrintStream( outputStream, true );
System.setOut( output );
author: Peter Donald |