Coverage Report - net.sf.statsvn.util.ConsoleTaskLogger
 
Classes in this File Line Coverage Branch Coverage Complexity
ConsoleTaskLogger
0%
0/8
N/A
1
 
 1  
 package net.sf.statsvn.util;
 2  
 
 3  
 import java.io.PrintStream;
 4  
 
 5  
 /**
 6  
  * Basic implementation to System.out.
 7  
  * 
 8  
  * @author Benoit Xhenseval
 9  
  * @version $Revision: 187 $
 10  
  */
 11  0
 public class ConsoleTaskLogger implements TaskLogger {
 12  0
         private static final PrintStream STREAM = System.out;
 13  
 
 14  
         /**
 15  
          * log text to the System.out.
 16  
          * 
 17  
          * @param text
 18  
          *            the text to log.
 19  
          */
 20  
         public final void log(final String text) {
 21  0
                 STREAM.println(text);
 22  0
         }
 23  
 
 24  
         public void error(final String arg) {
 25  0
                 log(arg);
 26  0
         }
 27  
 
 28  
         public void info(final String arg) {
 29  0
                 log(arg);
 30  0
         }
 31  
 }