1 /*2 * (c) Rob Gordon 20053 */4 package org.oddjob.logging;5 6 import java.io.OutputStream ;7 import java.io.PrintStream ;8 9 /**10 * Provide a PrintStream that logs to a logger.11 * 12 * @author Rob Gordon.13 */14 public class LoggingPrintStream extends PrintStream {15 16 public LoggingPrintStream(OutputStream existing, LogLevel level, 17 LogArchive consoleArchiver) {18 super(new LoggingOutputStream(existing, level, consoleArchiver));19 }20 }21