You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ak...@locus.apache.org on 2000/02/13 07:34:50 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/logging Logger.java

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;
       }
       
       /**