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/src/java/org/apache/log4j Category.java
Date Fri, 29 Oct 2004 11:53:11 GMT
ceki        2004/10/29 04:53:11

  Modified:    src/java/org/apache/log4j Category.java
  Log:
  Javadoc changes only.
  
  Revision  Changes    Path
  1.91      +3 -28     logging-log4j/src/java/org/apache/log4j/Category.java
  
  Index: Category.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/Category.java,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- Category.java	29 Oct 2004 11:40:48 -0000	1.90
  +++ Category.java	29 Oct 2004 11:53:11 -0000	1.91
  @@ -594,28 +594,14 @@
     }
   
     /**
  -   * Retrieve a category with named as the <code>name</code> parameter. If
the
  -   * named category already exists, then the existing instance will be
  -   * reutrned. Otherwise, a new instance is created. By default, categories
  -   * do not have a set level but inherit it from the hierarchy. This is one
  -   * of the central features of log4j. 
  -   *
  -   * @param name The name of the category to retrieve.
  -   * @deprecated Please use the {@link LogManager#getLogger(String)} method 
  -   * instead.
  +   * @deprecated Please use the {@link Logger#getLogger(String)} method instead.
      */
     public static Category getInstance(String name) {
       return LogManager.getLogger(name);
     }
   
     /**
  -   * Shorthand for <code>getInstance(clazz.getName())</code>.
  -   *
  -   * @param clazz The name of <code>clazz</code> will be used as the name of
  -   *        the category to retrieve.  See {@link #getInstance(String)} for
  -   *        more detailed information.
  -   * @deprecated Please use {@link LogManager#getLogger(Class)} instead.
  -   * @since 1.0
  +   * @deprecated Please use {@link Logger#getLogger(Class)} instead.
      */
     public static Category getInstance(Class clazz) {
       return LogManager.getLogger(clazz);
  @@ -659,18 +645,7 @@
     }
   
     /**
  -   * Return the root of the default category hierrachy.
  -   *
  -   * <p>
  -   * The root category is always instantiated and available. It's name is
  -   * "root".
  -   * </p>
  -   *
  -   * <p>
  -   * Nevertheless, calling {@link #getInstance Category.getInstance("root")}
  -   * does not retrieve the root category but a category just under root named
  -   * "root". 
  -   * @deprecated Use {@link Logger#getRootLogger()} instead.
  +   * @deprecated Please use the {@link Logger#getRootLogger()} method instead.
      * </p>
      */
     public static final Category getRoot() {
  
  
  

---------------------------------------------------------------------
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