tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/logging Logger.java
Date Sun, 13 Feb 2000 06:34:50 GMT
akv         00/02/12 22:34:50

  Modified:    src/share/org/apache/tomcat/logging Logger.java
  Log:
  Oops! fixed build error.
  
  Revision  Changes    Path
  1.2       +12 -2     jakarta-tomcat/src/share/org/apache/tomcat/logging/Logger.java
  
  Index: Logger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/logging/Logger.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Logger.java	2000/02/13 06:18:48	1.1
  +++ Logger.java	2000/02/13 06:34:50	1.2
  @@ -236,12 +236,12 @@
       public static final int INFORMATION = 3;
       public static final int DEBUG = 4;
       
  -    
  +
       /**
        * Set the verbosity level for this logger. This controls how the
        * logs will be filtered. 
        *
  -     * @param	level		one of the verbosity level codes. 
  +     * @param	level		one of the verbosity level strings. 
        */
       public void setVerbosityLevel(String level) {
   	if ("warning".equalsIgnoreCase(level))
  @@ -254,6 +254,16 @@
   	    this.level = INFORMATION;
   	else if ("debug".equalsIgnoreCase(level))
   	    this.level = DEBUG;
  +    }
  +
  +    /**
  +     * Set the verbosity level for this logger. This controls how the
  +     * logs will be filtered. 
  +     *
  +     * @param	level		one of the verbosity level codes. 
  +     */
  +    public void setVerbosityLevel(int level) {
  +	this.level = level;
       }
       
       /**
  
  
  

Mime
View raw message