| 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 OutputStreamLogger outputStream =
new OutputStreamLogger( logger, Priority.DEBUG );
final PrintStream output = new PrintStream( outputStream, true );
System.setOut( output );
author: Peter Donald |