Package org.objectweb.util.monolog.wrapper.common

Examples of org.objectweb.util.monolog.wrapper.common.LevelImpl


  // IMPLEMENTATION OF THE LevelFactory INTERFACE //
  //-----------------------------------------------//

  public Level defineLevel(String name, int value) {
    return defineLevel(new LevelImpl(name, value));
  }
View Full Code Here


  public Level defineLevel(String name, int value) {
    return defineLevel(new LevelImpl(name, value));
  }

  public Level defineLevel(String name, String value) {
    return defineLevel(new LevelImpl(name, value, this));
  }
View Full Code Here

  // IMPLEMENTATION OF THE LevelFactory INTERFACE //
  //-----------------------------------------------//

  public synchronized Level defineLevel(String name, int value) {
    Level l =  new LevelImpl(name, value);
    if (levels == null) {
      levels = new HashMap();
    }
    levels.put(new Integer(value), l);
    return l;
View Full Code Here

    levels.put(new Integer(value), l);
    return l;
  }

  public Level defineLevel(String name, String value) {
    Level l =  new LevelImpl(name, value, this);
    if (levels == null) {
      levels = new HashMap();
    }
    levels.put(new Integer(value), l);
    return l;
View Full Code Here

   *
   *@return    The CurrentLevel value
   */
  public Level getCurrentLevel() {
    return (lev == null
      ? lev = new LevelImpl(
        (level ==-1
          ?"INHERIT"
        :"INTER"),
        level)
      : lev);
View Full Code Here

TOP

Related Classes of org.objectweb.util.monolog.wrapper.common.LevelImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.