1 package org.slf4j; 2 3 import java.io.PrintStream; 4 5 public class SilentPrintStream extends PrintStream { 6 7 PrintStream other; 8 9 public SilentPrintStream(PrintStream ps) { 10 super(ps); 11 other = ps; 12 } 13 14 public void print(String s) { 15 } 16 17 public void println(String s) { 18 } 19 20 public void println(Object x) { 21 } 22 }