ceki        01/08/07 05:13:55

  Modified:    docs     HISTORY contactUs.html documentation.html
                        download.html earlier.html history.html
               src/java/org/apache/log4j Category.java
  Log:
   - The Category.assert method has been replaced by
     Category.assertLog.  This change was mecessary because assert is a
     language reserved word in JDK 1.4. [**]
  
  - Added the Category.getParent method.
  
  Revision  Changes    Path
  1.56      +4 -0      jakarta-log4j/docs/HISTORY
  
  Index: HISTORY
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/docs/HISTORY,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- HISTORY   2001/07/30 20:32:09     1.55
  +++ HISTORY   2001/08/07 12:13:54     1.56
  @@ -9,6 +9,10 @@
   
    - Release of version 1.2alpha_0
   
  + - The Category.assert method has been replaced by
  +   Category.assertLog.  This change was mecessary because assert is a
  +   language reserved word in JDK 1.4. [**]
  +
    - Added event reporting capability to the Hierachy class.
    
    - Corrected a performance bug in the NDC class as observed by Dan Milstein. [*]
  
  
  
  1.11      +2 -4      jakarta-log4j/docs/contactUs.html
  
  Index: contactUs.html
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/docs/contactUs.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- contactUs.html    2001/07/30 20:32:09     1.10
  +++ contactUs.html    2001/08/07 12:13:54     1.11
  @@ -36,7 +36,7 @@
                   
                   <tr>
                       <!-- LEFT SIDE NAVIGATION -->
  -                    <td valign="top" nowrap="true">
  +                    <td width="20%" valign="top" nowrap="true">
                                   <p><strong>Log4j Project</strong></p>
           <ul>
                       <li>    <a href="./index.html">Introduction</a>
  @@ -112,14 +112,13 @@
   </li>
                   </ul>
                           </td>
  -                    <td align="left" valign="top">
  +                    <td width="80%" align="left" valign="top">
                                                                       <table 
border="0" cellspacing="0" cellpadding="2" width="100%">
         <tr><td bgcolor="#525D76">
           <font color="#ffffff" face="arial,helvetica,sanserif">
             <a name="Bug reporting"><strong>Bug reporting</strong></a>
           </font>
         </td></tr>
  -      <tr><td><br/></td></tr>
         <tr><td>
           <blockquote>
                                       <p>Bugs should be reported by using the 
  @@ -141,7 +140,6 @@
             <a name="Mailing lists"><strong>Mailing lists</strong></a>
           </font>
         </td></tr>
  -      <tr><td><br/></td></tr>
         <tr><td>
           <blockquote>
                                       <p>New releases and important bug-fixes are 
announced at the
  
  
  
  1.14      +3 -4      jakarta-log4j/docs/documentation.html
  
  Index: documentation.html
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/docs/documentation.html,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- documentation.html        2001/08/02 12:04:26     1.13
  +++ documentation.html        2001/08/07 12:13:54     1.14
  @@ -36,7 +36,7 @@
                   
                   <tr>
                       <!-- LEFT SIDE NAVIGATION -->
  -                    <td valign="top" nowrap="true">
  +                    <td width="20%" valign="top" nowrap="true">
                                   <p><strong>Log4j Project</strong></p>
           <ul>
                       <li>    <a href="./index.html">Introduction</a>
  @@ -112,14 +112,13 @@
   </li>
                   </ul>
                           </td>
  -                    <td align="left" valign="top">
  +                    <td width="80%" align="left" valign="top">
                                                                       <table 
border="0" cellspacing="0" cellpadding="2" width="100%">
         <tr><td bgcolor="#525D76">
           <font color="#ffffff" face="arial,helvetica,sanserif">
             <a name="log4j documentation"><strong>log4j documentation</strong></a>
           </font>
         </td></tr>
  -      <tr><td><br/></td></tr>
         <tr><td>
           <blockquote>
                                       <p>The following documentation is included with 
the standard log4j
  @@ -157,7 +156,7 @@
     
     <p>
       <li>
  -      <a href="deepExtension.html"><b>extending log4j</b></a> and
  +      <a href="deepExtension.html"><b>extending log4j</b></a>,
       </li>
     </p>
   
  
  
  
  1.33      +14 -5     jakarta-log4j/docs/download.html
  
  Index: download.html
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/docs/download.html,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- download.html     2001/07/30 20:32:09     1.32
  +++ download.html     2001/08/07 12:13:54     1.33
  @@ -36,7 +36,7 @@
                   
                   <tr>
                       <!-- LEFT SIDE NAVIGATION -->
  -                    <td valign="top" nowrap="true">
  +                    <td width="20%" valign="top" nowrap="true">
                                   <p><strong>Log4j Project</strong></p>
           <ul>
                       <li>    <a href="./index.html">Introduction</a>
  @@ -112,14 +112,13 @@
   </li>
                   </ul>
                           </td>
  -                    <td align="left" valign="top">
  +                    <td width="80%" align="left" valign="top">
                                                                       <table 
border="0" cellspacing="0" cellpadding="2" width="100%">
         <tr><td bgcolor="#525D76">
           <font color="#ffffff" face="arial,helvetica,sanserif">
             <a name="log4j version 1.1.3"><strong>log4j version 1.1.3</strong></a>
           </font>
         </td></tr>
  -      <tr><td><br/></td></tr>
         <tr><td>
           <blockquote>
                                       <p>Download version 1.1.3 including <i>full 
source code</i>, class files
  @@ -128,7 +127,8 @@
   <a href="../jakarta-log4j-1.1.3.zip"><b>ZIP</b></a> format. You may
   elect to browse log4j <a href="documentation.html"><b>documentation</b></a> online. 
   </p>
  -                                                <p><a 
href="http://www.javaworld.com/javaworld/jw-05-2001/jw-0504-finalists.html";><img 
src="images/ecaward_finalist_logo.gif" align="right" border="0" /></a>Version 1.1.3 is 
the 21st major public release of
  +                                                <p>
  +<a href="http://www.javaworld.com/javaworld/jw-05-2001/jw-0504-finalists.html";><img 
src="images/ecaward_finalist_logo.gif" align="right" border="0" /></a>Version 1.1.3 is 
the 21st major public release of
   log4j. It is backward compatible with log4j version 1.0.x.</p>
                                                   <p>We also maintain a list of <a 
href="earlier.html">earlier
   versions</a> of log4j for download, intended for the curious
  @@ -144,10 +144,19 @@
             <a name="Third-party software"><strong>Third-party software</strong></a>
           </font>
         </td></tr>
  -      <tr><td><br/></td></tr>
         <tr><td>
           <blockquote>
                                       <dl>
  +  <dt><a href="http://qos.ch/";><b>log4j<em>ME</em></b></a></dt>
  +  <dd>Log4j<em>ME</em>, or log4j MicroEdition, is based on the same
  +  code as log4j. However, as the name indicates the micro-edition is
  +  much smaller. It offers the same client interface such that code
  +  compiled for log4jME is 100% compatible with log4j standard
  +  edition. You can choose to upgrade to log4j standard edition at any
  +  time by replacing <em>log4jME.jar</em> with <em>log4j.jar</em> in
  +  your classpath.
  +  </dd>
  +
     <dt><a href="http://sourceforge.net/projects/log4cpp/";><b>log4cpp</b></a></dt>
     <dd>A library of C++ classes for flexible logging to files, syslog, IDSA and 
         other destinations modeled after log4j by Bastiaan Bakker.</dd>
  
  
  
  1.13      +2 -3      jakarta-log4j/docs/earlier.html
  
  Index: earlier.html
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/docs/earlier.html,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- earlier.html      2001/07/03 09:24:25     1.12
  +++ earlier.html      2001/08/07 12:13:54     1.13
  @@ -36,7 +36,7 @@
                   
                   <tr>
                       <!-- LEFT SIDE NAVIGATION -->
  -                    <td valign="top" nowrap="true">
  +                    <td width="20%" valign="top" nowrap="true">
                                   <p><strong>Log4j Project</strong></p>
           <ul>
                       <li>    <a href="./index.html">Introduction</a>
  @@ -112,14 +112,13 @@
   </li>
                   </ul>
                           </td>
  -                    <td align="left" valign="top">
  +                    <td width="80%" align="left" valign="top">
                                                                       <table 
border="0" cellspacing="0" cellpadding="2" width="100%">
         <tr><td bgcolor="#525D76">
           <font color="#ffffff" face="arial,helvetica,sanserif">
             <a name="Older distributions of the log4j package"><strong>Older 
distributions of the log4j package</strong></a>
           </font>
         </td></tr>
  -      <tr><td><br/></td></tr>
         <tr><td>
           <blockquote>
                                       <hr />
  
  
  
  1.14      +2 -3      jakarta-log4j/docs/history.html
  
  Index: history.html
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/docs/history.html,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- history.html      2001/05/20 15:03:06     1.13
  +++ history.html      2001/08/07 12:13:54     1.14
  @@ -36,7 +36,7 @@
                   
                   <tr>
                       <!-- LEFT SIDE NAVIGATION -->
  -                    <td valign="top" nowrap="true">
  +                    <td width="20%" valign="top" nowrap="true">
                                   <p><strong>Log4j Project</strong></p>
           <ul>
                       <li>    <a href="./index.html">Introduction</a>
  @@ -112,14 +112,13 @@
   </li>
                   </ul>
                           </td>
  -                    <td align="left" valign="top">
  +                    <td width="80%" align="left" valign="top">
                                                                       <table 
border="0" cellspacing="0" cellpadding="2" width="100%">
         <tr><td bgcolor="#525D76">
           <font color="#ffffff" face="arial,helvetica,sanserif">
             <a name="Project history"><strong>Project history</strong></a>
           </font>
         </td></tr>
  -      <tr><td><br/></td></tr>
         <tr><td>
           <blockquote>
                                       <p>The <a href="HISTORY"><b>project 
history</b></a> gives a brief
  
  
  
  1.39      +26 -8     jakarta-log4j/src/java/org/apache/log4j/Category.java
  
  Index: Category.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/Category.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- Category.java     2001/07/30 19:30:04     1.38
  +++ Category.java     2001/08/07 12:13:55     1.39
  @@ -224,18 +224,20 @@
        If <code>assertion</code> parameter is <code>false</code>, then
        logs <code>msg</code> as an {@link #error(Object) error} statement.
   
  +     <p>The <code>assert</code> method has been renamed to
  +     <code>assertLog</code> because <code>assert</code> is a language
  +     reserved word in JDK 1.4.
  +
        @param assertion 
        @param msg The message to print if <code>assertion</code> is
        false.
  -
  -     @since 0.8.1 */
  -  // Assert is a language reserved word in JDK 1.4. We can no longer use it.
   
  -  //public
  -  //void assert(boolean assertion, String msg) {
  -  //if(!assertion)
  -  //  this.error(msg);
  -  //}
  +     @since 1.2 */
  +  public
  +  void assertLog(boolean assertion, String msg) {
  +    if(!assertion)
  +      this.error(msg);
  +  }
     
   
     /**
  @@ -606,6 +608,22 @@
     String getName() {
       return name;
     }
  +
  +    
  +  /**
  +     Returns the parent of this category. Note that the parent of a
  +     given category may change during the lifetime of the category.
  +     
  +     <p>The root category will return <code>null</code>.
  +
  +     @since 1.2
  +  */
  +  final
  +  public
  +  Category getParent() {
  +    return this.parent;
  +  }
  +
       
     /**
        Returns the assigned {@link Priority}, if any, for this Category.  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to