ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/frontends BasicLogger.java
Date Sun, 07 Apr 2002 02:25:38 GMT
adammurdoch    02/04/06 18:25:38

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/frontends
                        BasicLogger.java
  Log:
  Add EOL between error message and stack trace.
  
  Revision  Changes    Path
  1.4       +3 -4      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/frontends/BasicLogger.java
  
  Index: BasicLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/frontends/BasicLogger.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BasicLogger.java	18 Mar 2002 11:49:46 -0000	1.3
  +++ BasicLogger.java	7 Apr 2002 02:25:38 -0000	1.4
  @@ -14,7 +14,7 @@
    * A basic logger that just prints out messages to <code>System.out</code>.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.3 $ $Date: 2002/03/18 11:49:46 $
  + * @version $Revision: 1.4 $ $Date: 2002/04/07 02:25:38 $
    */
   public class BasicLogger
       extends AbstractLogger
  @@ -113,13 +113,12 @@
           {
               sb.append( message );
           }
  +        System.out.println( sb );
   
           if( null != throwable )
           {
               final String stackTrace = ExceptionUtil.printStackTrace( throwable, 8, true,
true );
  -            sb.append( stackTrace );
  +            System.out.println( stackTrace );
           }
  -
  -        System.out.println( sb.toString() );
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message