logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: logging-log4j/examples/src/sort SortAlgo.java
Date Mon, 06 Sep 2004 13:23:24 GMT
ceki        2004/09/06 06:23:24

  Modified:    examples/src/sort SortAlgo.java
  Log:
  Cateory -> Logger
  Category.getInstance -> Logger.getLogger
  
  Revision  Changes    Path
  1.2       +6 -6      logging-log4j/examples/src/sort/SortAlgo.java
  
  Index: SortAlgo.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/examples/src/sort/SortAlgo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SortAlgo.java	22 Dec 2003 17:47:57 -0000	1.1
  +++ SortAlgo.java	6 Sep 2004 13:23:24 -0000	1.2
  @@ -1,6 +1,6 @@
   package sort;
   
  -import org.apache.log4j.Category;
  +import org.apache.log4j.Logger;
   import org.apache.log4j.NDC;
   
   /**
  @@ -15,11 +15,11 @@
   public class SortAlgo {
   
     final static String className = SortAlgo.class.getName();
  -  final static Category CAT = Category.getInstance(className);
  -  final static Category OUTER = Category.getInstance(className + ".OUTER");
  -  final static Category INNER = Category.getInstance(className + ".INNER");
  -  final static Category DUMP = Category.getInstance(className + ".DUMP");
  -  final static Category SWAP = Category.getInstance(className + ".SWAP");
  +  final static Logger CAT = Logger.getLogger(className);
  +  final static Logger OUTER = Logger.getLogger(className + ".OUTER");
  +  final static Logger INNER = Logger.getLogger(className + ".INNER");
  +  final static Logger DUMP = Logger.getLogger(className + ".DUMP");
  +  final static Logger SWAP = Logger.getLogger(className + ".SWAP");
   
     int[] intArray;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message