You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-cvs@jakarta.apache.org by ce...@apache.org on 2001/09/04 16:49:50 UTC

cvs commit: jakarta-log4j/src/java/org/apache/log4j Priority.java

ceki        01/09/04 07:49:50

  Modified:    src/java/org/apache/log4j Priority.java
  Log:
  Fixed backward compatibility problems.
  
  Revision  Changes    Path
  1.11      +5 -4      jakarta-log4j/src/java/org/apache/log4j/Priority.java
  
  Index: Priority.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/Priority.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Priority.java	2001/09/02 20:05:39	1.10
  +++ Priority.java	2001/09/04 14:49:50	1.11
  @@ -22,10 +22,11 @@
    */
   public class Priority extends Level {
   
  -
  -  //final static public Level DEBUG = Level.DEBUG;
  -  final static public Level INFO = Level.INFO;
  -  final static public Level WARN = Level.WARN;
  +  final static public Priority FATAL = new Priority(FATAL_INT, "FATAL", 0);
  +  final static public Priority ERROR = new Priority(ERROR_INT, "ERROR", 3);
  +  final static public Priority WARN  = new Priority(WARN_INT, "WARN",  4);
  +  final static public Priority INFO  = new Priority(INFO_INT, "INFO",  6);
  +  final static public Priority DEBUG = new Priority(DEBUG_INT, "DEBUG", 7);
       
     /**
        Instantiate a level object.
  
  
  

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