View Javadoc

1   package baseCode.util;
2   
3   import org.apache.commons.logging.Log;
4   import org.apache.commons.logging.LogFactory;
5   
6   /***
7    * Copyright (c) 2004 Columbia University
8    * 
9    * @author Paul Pavlidis
10   * @version $Id: StatusDebugLogger.java,v 1.4 2004/07/27 03:18:58 pavlidis Exp $
11   */
12  public class StatusDebugLogger implements StatusViewer {
13  
14     protected static final Log log = LogFactory.getLog( StatusDebugLogger.class );
15  
16     /*
17      * (non-Javadoc)
18      * 
19      * @see baseCode.util.StatusViewer#setStatus(java.lang.String)
20      */
21     public void setStatus( String s ) {
22        log.info( s );
23     }
24  
25     /*
26      * (non-Javadoc)
27      * 
28      * @see baseCode.util.StatusViewer#setError(java.lang.String)
29      */
30     public void setError( String s ) {
31        log.error( s );
32     }
33  
34     public void clear() {
35        // don't need to do anything.
36     }
37  
38  }