1 16 17 package org.apache.log4j.helpers; 18 19 37 public class SingleLineTracerPrintWriter extends TracerPrintWriter { 38 39 static String TAB = " "; 40 41 public SingleLineTracerPrintWriter(QuietWriter qWriter) { 42 super(qWriter); 43 } 44 45 49 public 50 void println(Object o) { 51 this.qWriter.write(o.toString()); 52 } 53 54 57 61 public 62 void println(String s) { 63 this.qWriter.write(TAB+s.substring(1)); 65 } 66 } 67 | Popular Tags |